 |
|
OL316: Java Servlet Programming
-
Description:
-
Java servlet technology provides web developers with a simple,
consistent mechanism for extending the functionality of a web server
and for accessing existing business systems to build today's
interactive web applications.
Java Servlet Programming explores the
architecture of these interactive web applications and the role of servlets in
them.
In this course, you will learn how to construct such applications using
servlet technology.
This course begins with
a review of the fundamentals of HTTP and HTML as they apply to servlets.
The focus of the course is dedicated to the
presentation of the design and implementation of HTTP servlets,
the most common type of servlet available today.
By the end of the course, you will be able to implement your own servlet and
will have practiced incorporating JDBC technology into it.
In the course, you will also explore the use of
JavaServer Pages (JSP) technology, which is used to dynamically generate web
pages by separating the HTML presentation from the Java code.
This hands-on course is composed of comprehensive
lectures, practical project illustrations, and independent programming sessions.
Objectives:
-
At the end of the course, participants will be able to:
-
Outline the steps taken to implement a servlet in Java.
-
Implement a servlet in Java.
-
Apply the session tracking techniques (hidden form fields, Session API,
and Cookies) needed to write servlets for web
applications.
-
Implement a servlet that interacts with a client and a backend database.
-
Implement an interactive web page using JSP.
Audience:
-
Programmers with some Java experience
who are interested in server-side issues.
Prerequisites:
-
The course assumes familiarity with the
Java programming language. Participants may take this class if they have taken
OL309 Programming in Java, Part 1 (OL310 is not
required) or if they have equivalent Java programming experience.
- Duration: 2 days
- Course Contents:
-
Unit 1: What are Servlets?
- Learn how to run a servlet.
- Understand the advantages of servlets over competing web technologies.
- Explore the elements required to successfully deploy servlets.
-
Unit 2: Basic Servlet Design Concepts
- Understand the relationship between HTTP and servlets.
- Implement an HTTP servlet.
- Process HTML forms using servlets.
-
Unit 3: Advanced Servlet Design Concepts
- Implement session tracking in servlets using
- hidden form fields,
- the session tracking API,
- cookies.
-
|
Unit 4: Servlets and JDBC
- Understand the basic principles of JDBC.
- Apply JDBC principles to servlets to access a database.
-
Unit 5: JSP and Servlets
- Learn the relationship between JSP and servlets.
- Understand the use of JSP elements in creating web page content.
- Implement a simple web application that uses a mixture of HTML, JSP and a JavaBeans component.
-
|
|