Home Contact Resources Training Profile Clients Careers


Introduction to Servlet Programming


Length: 2 days
CourseID: servlets



Prerequisites:

Participants should have experience developing java applications. Students should be comfortable writing HTML web pages and have a basic understanding of HTTP as the transport protocol.


Overview:

Servlets are Java’s answer to dynamic web applications. In the J2EE web application, they fulfill the controller component of the Model View Controller design pattern. The student will design, develop and deploy J2EE compliant web applications in this class. Along with developing HTML content, the student will be pulling data from relational databases using JDBC.


Objectives:

  • Develop simple Servlets
  • Extend simple Servlets using HTTPServlet
  • Integrate Servlets with Relational Databases
  • Maintain client state with the use of Cookies
  • Maintain state with the use of the Session Object

  • Chapters:


    Introduction to J2EE

    What is Java? What is J2EE?
    The J2EE Architecture Servlets and JSPs
    Enterprise Java Beans Application Server

    Servlets Introduction

    Servlets Design GenericServlet
    HTTPServlet Servlet LifeCycle
    WAR file format

    Extending Servlets

    Include Setting Request Attributes
    Retrieving Request Attributes

    Servlet State

    Cookies Intro Retrieving Cookies
    Setting Cookies Cookie Alternatives
    Encoding the URL Using the Session Object
    Retrieving the Session data Managing the Session Object