Java Training Courses

Java Servlets

This practical, application-oriented course teaches Java Servlets technology and shows how to use it to develop simple to complex Web applications.

It is intended for experienced Java (J2SE) programmers who want to build Web applications or J2EE components and systems.

The course begins with an overview of server-side Java programming and Web protocols. Then students learn the Java Servlets architecture, the request/response cycle, and servlet life cycle, and how to build interactive Web applications that parse and/or generate HTML forms. Several prominent patterns for servlet application architecture are considered. Sessions are studied as a means to developing sophisticated client/server conversations over several HTML pages. Multi-tier applications are developed using servlets and JDBC for access to relational databases. The course develops the important concept of the separation of programmatic and declarative development: use of configuration and context information in lieu of hard-coded values, resource locations, etc., to make the Web application as portable and easy to administer as possible. The course introduces JavaBeans as a standard for business and data objects that can be shared among servlets and JSPs, and develops techniques for sharing such objects at session scope or by request forwarding. Finally, students learn how to implement filters to adapt existing servlets by pre- and post-processing the request and response.

The course software also includes an optional overlay of workspace and project files to support use of the Eclipse IDE in the classroom.

Learning Objectives

  • Understand and appreciate the role of Java Servlets in the overall Java 2 Enterprise Edition architecture, and as the best Java solution to HTTP application development
  • Use request and response objects provided to a servlet to read CGI parameters and to produce an HTML response
  • Develop interactive Web applications using HTML forms and servlets
  • Manage complex conversations with HTTP clients using session attributes
  • Understand the role of JDBC in Java persistence code, and use JDBC for persistence in servlet applications
  • Preserve portability and ease of administration for a servlet application by parameterizing servlet code, using initialization parameters, properties files, and JNDI
  • Use JavaBeans classes to share complex business data between components
  • Implement filters to adapt existing servlets with new features, and to maximize the decomposition of logic between vertical business functions and horizontal facilities

Return to Java Training Courses

 
 
 
 
   

Find a training course: 

Microsoft Developer 
Training Courses 


Java Developer 
Training Courses 


Database Development 
and Administration 
Training Courses 


XML Training Courses 

Analysis and Design 
Training Courses 


Windows Debugging 
Training Courses 


Microsoft Business 
Solutions Development