COURSE SEARCH
 
   HOME > COURSES > JAVA SERVLETS MEMBERS LOGIN 
UNLIMITED ACCESS TO OVER 575 ONLINE TRAINING COURSES FOR ONE ANNUAL PAYMENT OF ONLY $149 USD
BUY NOW
  HOME     COURSE LIBRARY     QUESTIONS & ANSWERS     CONTACT US
There are many excellent online courses. This has been hugely beneficial in my day to day work.
- Louise Nolan


Java Servlets




Course Aims
This course is designed to give you a firm grounding in Server Side Programming, Servlet Basics and Advanced Servlet Features like Session Tracking and Interservlet Communication.
Assumed Knowledge
a prior knowledge of Core Java Programming and Applets & HTML Programming is required.
Course Audience
This course is essential for those who are interested in extending the functionality of a web server e.g. to generate dynamic content. It is also helpful for CGI programmers, Server-Side JavaScript programmers and Java applet programmers.

This course can be found in the following categories:
Courses > Programming > Java
Courses > Web Development

Table of Contents
Introduction to Servlets
  • Overview
  • Comparing Servlets with other Technologies
  • Current Applications
  • Future Applications
  • Advantages of Java Servlets
     
    HTML Form Loading
  • Overview
     
    The Form Tag
  • The Form Tag
     
    The Input Tag
  • The Text Input Type
  • Exercise 2:1: For Text Input Type
  • The Password Input Type
  • Exercise 2:2: For Password Input Type
  • The Button Input Type
  • Exercise 2:3: For Button Input Type
  • The Reset Input Type
  • The Submit Button Input Type
  • Exercise 2:4: For Submit Button Input Type
  • The Check Box Input Type
  • Exercise 2:5: For Check Box Input Type
  • The Radio Button Input Type
  • Exercise 2:6: For Radio Button Input Type
  • The Textarea Tag
  • Exercise 2:7: For Textarea Tag.
  • The Image Input Type
  • Exercise 2:8: For Image Input Type
  • The File Input Type
  • Exercise 2:9: For File Input Type
     
    The Select Tag
  • The Select Tag
     
    Exercise 2:10: Select Tag
  • Exercise 2:10: Select Tag
     
    Java Servlet
  • Java Servlet
     
    What are Servlets?
  • What are Servlets?
     
    Uses of Servlets
  • Uses of Servlets
     
    Requirements for writing Servlets
  • Requirements for writing Servlets
     
    What Do You Need to Run Servlets?
  • What Do You Need to Run Servlets?
     
    Architecture of the Servlet Package
  • Servlet Interface
  • The ServletRequest Interface
  • The ServletResponse Interface
  • Additional Capabilities of HTTP Servlets
  • Exercise 3:1:Simple Servlet generating text document
  • Exercise 3:2:Simple Servlet generating dynamic HTML content
  • Requests and Responses
  • HttpServletRequest Objects
  • HttpServletResponse Objects
  • Handling GET and POST Requests
  • Handling GET requests
  • Exercise 3:3: Handling GET requests
  • Handling POST Requests
  • Exercise 3:4: Handling POST requests
     
    Handling Header Data
  • Request Headers
  • Response Headers
  • Common Response Headers
     
    Exercise 3:5: Handling Header Data.
  • Exercise 3:5: Handling Header Data.
     
    Servlet Life Cycle, SSI and ServletChaining
  • Servlet Life Cycle
  • Initializing a Servlet
     
    Initialization Parameters
  • Initialization Parameters
     
    Interacting with Clients
  • Destroying a Servlet
  • Instance Persistence
  • Servlet Reloading
  • Exercise 4:1: init and destroy method
     
    Server-Side Include
  • Steps in loading an HTML page that contains SSI.
  • Server-side Include tag syntax.
  • Exercise 4:2:Simple Server Side Include Servlet.
  • Exercise 4:3:Displaying initialization parameters using SSI.
  • Exercise 4:4:Setting Footer and Header using SSI.
    Servlet Chaining
  • Servlet Chaining
     
    Exercise 4:5:Showing the implementation of Servlet Chaining.
  • Exercise 4:5:Showing the implementation of Servlet Chaining.
     
    Running ServletChain.
  • Running ServletChain.
     
    JDBC in Servlets
  • JDBC in Servlets
     
    Overview
  • Overview
     
    JDBC Drivers
  • JDBC Drivers
     
    Basic Flow followed by all JDBC Applications
  • Import java.sql.package
  • Registering the Driver
  • Establishing the connection
  • Create a statement
  • Execute the statement
  • Retrieve the results
  • Close the statement and connection
     
    JDBC Example
  • JDBC Example
     
    Exercise 5:1: Simple Servlet connecting to the Database
  • Exercise 5:1: Simple Servlet connecting to the Database
     
    Using ResultSetMetaData interface
  • Using ResultSetMetaData interface
     
    Exercise 5:2:Using ResultSetMetaData interface
  • Exercise 5:2:Using ResultSetMetaData interface
     
    Database Updating
  • Database Updating
     
    Exercise 5:3:Using execute() and getResultSet( ) methods
  • Exercise 5:3:Using execute() and getResultSet( ) methods
     
    Exercise 5:4:Using execute() and getUpdateCount( ) methods
  • Exercise 5:4:Using execute() and getUpdateCount( ) methods
     
    Reusing Database Objects
  • Reusing Database Objects
     
    Connection Reuse
  • Connection Reuse
     
    Exercise 5:5: Connection Reuse
  • Exercise 5:5: Connection Reuse
     
    Transactions
  • Using Transactions with JDBC
  • Exercise 5:6: Using Transactions with JDBC in servlets
     
    Optimization of Transaction Process
  • Optimization of Transaction Process
     
    Connection Pooling
  • Connection Pooling
     
    Exercise 5:7: Servlet using ConnectionPooling
  • Exercise 5:7: Servlet using ConnectionPooling
     
    Session Tracking
  • Session Tracking
     
    Overview
  • Overview
     
    User Authorization
  • User Authorization
     
    Hidden Form Fields
  • Hidden Form Fields
     
    URL Rewriting
  • URL Rewriting
     
    Exercise 6:1: URL Rewriting
  • Exercise 6:1: URL Rewriting
     
    Cookies
  • Creating Cookies
  • Reading and Specifying Cookie Attributes
  • Placing Cookies in Response Headers
  • Reading Cookies from Client
  • Exercise 6:2: Cookies
     
    Session Tracking API
  • HttpSession object associated with the current request
  • Information Associated with a Session.
  • Associating Information with a Session
  • Exercise 6:3: Session Tracking
  • Session Swapping and Persistence
     
    Interservlet Communication
  • Interservlet Communication
     
    Introduction
  • Introduction
     
    Servlet Manipulation
  • Servlet Manipulation
     
    Servlet Reuse
  • Servlet Reuse
     
    Servlet Collaboration
  • Servlet Collaboration
     
    Collaboration through the System Properties List
  • Collaboration through the System Properties List
     
    Collaboration using a shared object
  • Collaboration using a shared object
     
    Collaboration through inheritance
  • Collaboration through inheritance
     
    Exercise 7:1: Saving state of servlets
  • Exercise 7:1: Saving state of servlets
     
    Applet-Servlet Communication
  • Applet-Servlet Communication
     
    Exercise 7:2: Applet Communicating to the Servlet.
  • Exercise 7:2: Applet Communicating to the Servlet.
     
    Page Compilation
  • Page Compilation
     
    The Servlet Tag
  • The Servlet Tag
     
    Exercise 7:3: Page Compilation
  • Exercise 7:3: Page Compilation
     
    Exercises and Solutions
  • Exercises and Solutions
     
    Exercises
  • Exercises
     
    Solutions
  • Solutions
    TRY BEFORE YOU BUY BECOME A RESELLER
    Sunday 22nd November 2009  © COPYRIGHT 2009 - VISUALSOFT