Arkoa homepage
About Arkoa News & Events Contact Us Careers
  Course Catalog : Java :

Java Servlet and JSP Programming

3 days

Course # 02-2460


Description

This intensive, hands-on course provides an introduction to Web application development using Java Servlets and Java Server Pages (JSP). Students will learn how to create powerful server-side programs that benefit from the Java enterprise environment.

Audience
Java programmers or architects who plan to develop distributed, multi-tier Java Web applications. This course is particularly targeted to those developers writing Web server applications that utilize Java enterprise technologies.

Prerequisites
Attendance at Arkoa’s 5-day Java Programming course or equivalent training/experience. Basic HTML knowledge equivalent to that provided by Arkoa's HTML Programming course is also recommended.

Hardware and Software
PCs or workstations capable of running the Java2 Software Development Kit (SDK) standard edition and enterprise edition and Tomcat 3.1.1 or above. The systems should be able to load setup software from a CD-ROM or floppy disk.

 


Format

  • Presentation
  • Hands-on

Objectives
After completing this course, participants should be able to:

  • Design a multi-tier Java Web application
  • Develop Java Servlet Web applications
  • Design forms to post requests to Java based Web applications
  • Implement Web applications with JSP technology



Topics


Multi-Tier Object-based Architectures

  • Introduction to Objects in Distributed Systems
    • Objects, Responsibilities, and Relationships
    • Remote Object Interaction
    • Proxy Pattern
    • Proxies and Remote Objects
    • Components
  • Multi-Tier Architectures
    • Distributed Software Systems
    • Tier Components
    • Web-based Tiers
    • A Four-Tier Architecture
    • Enterprise Development Architectures
    • Microsoft DNA
    • CORBA Architecture
    • Sun J2EE Architecture
    • J2EE Technologies

Introduction to J2EE

  • J2EE Architecture and Java-based Application Servers
    • The Enterprise Portal Myth
    • Java 2 Enterprise Edition (J2EE)
    • Java Application Servers
    • Connecting to Legacy Data
  • HTTP Technologies
    • The HTTP Protocol
    • Programming Access to URLs
    • HTTP HEAD, GET, and POST Requests
    • HTTP Responses
    • HTTP Status Codes
 


Introduction to Java Servlets

  • Introduction to Servlets
    • What is a Servlet?
    • J2EE Web Containers and Web Applications
    • Servlet Architecture
  • Servlet Architecture
    • javax.servlet.Servlet Interface
    • Event Log
    • ServletConfig Interface
    • ServletRequest Class
    • ServletResponse
    • HttpServlet Class
    • HttpServletRequest
    • HttpServletResponse
    • Sales Tax Calculator Example

Advanced Servlet Development Issues

  • Considerations for Servlet Construction
    • Error Handling
    • Threading
    • Life Cycle Issues
  • Sessions and Servlet/Servlet Interactions
    • Session Tracking
    • URL Rewriting
    • Cookies
    • HttpSession Object
    • Session Life cCycle Demonstration
    • Shopping Cart Servlet Example
    • ServletContext Interface
    • NutShop: Setting the Inventory in the Context
    • Additional ServletContext Methods
    • RequestDispatcher
    • Dynamic Content Generation