Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Training
Web-based Courses
»   How To Enroll
»   Java Technology
»   Sun Java Studio, Solaris OS, and Perl Development
»   Sun Java Enterprise System
»   Sun Java Desktop System
»   Web Services, XML, and Web Publishing
»   Wireless and Telecommunications
»   StarOffice Software
»   Solaris Operating Environment
»   Network Management
»   N1 Grid
»   Security
»   Server and High Availability
»   Storage
»   Knowledge Management
»   Auto-ID
 
 

Design and Development of Simple Java Servlet Applications

 Course Description
    Course Outline/Details

The Design and Development of Simple Java Servlet Applications course provides important background material on Web technologies, and also introduces specific Java technologies for the Web-tier: servlets and Web applications.

NOTE: The optional exercises in this course require a separate download and installation of the Apache Tomcat server and Java virtual machine.

  • Course length: 5 hours

  • This course requires the Macromedia Flash 4 (or higher) player. Click here to test if you have Flash.

    Course ID:
    WJ-3141-90
    Subscription Duration:
    90 days
    Price:
    $US  125.00
    How to Enroll
       
     Languages Offered Back To Top

    This course is currently available in English only.

     
     Who Can Benefit Back To Top

    Students who can benefit from this course are Web Component Developers.

     
     Prerequisites Back To Top

    To succeed fully in this course, students should be able to:

  • Create and use Java technology classes, packages, interfaces, exceptions, and collections
  • Compile and execute a Java technology program
  • Read and use an object-oriented API
  • Integrate with existing Java technology code (for example, when code developed by another team is needed)
  • Model the "what" and "how" of a software system using some modeling language, such as Unified Modelling Language (UML)
  • Understand the component/container software framework
  • Understand what an n-tiered architecture consists of (presentation logic, business logic, data store)
  • Understand why separation of presentation logic and business logic is a good idea
  •  
     Skills Gained Back To Top

    Upon completion of this course, you should be able to:
  • Understand Web technologies, in general, and Java technology servlets, in particular recognize a simple Web application architecture
  • Develop a servlet that accesses HTML form parameters using the HttpServletRequest interface and generate a dynamic HTML response using the HttpServlerResponse interface
  • Create an XML deployment descriptor file that configures one or more servlet definitions and servlet-to-URL mappings
  • Configure servlet initialization parameters in the deployment descriptor and access these parameters using the getInitParameter method
  • Create and share application-wide resources using the ServletContext interface
  •  
     Related Courses Back To Top

  • Before: WJB-250: The Java Programming Language Bundle
  •  
         Course Content Back To Top



    Module 1: Introduction to Web Application Technologies

  • Describe Internet services
  • Describe the World Wide Web
  • Distinguish between Web applications and Web sites
  • Describe Java servlets technology and list three benefits of this technology compared with traditional Common Gateway Interface (CGI) scripting
  • Describe JavaServer Pages technology and list three benefits of JSP pages technology over rival template page technologies
  • Describe the Java 2 Platform, Enterprise Edition (J2EE)


  • Module 2: Developing a Simple Servlet
  • Develop a simple generic servlet
  • Describe the Hypertext Transfer Protocol (HTTP)
  • Develop a simple HTTP servlet
  • Deploy a simple HTTP servlet
  • Develop servlets that access request headers
  • Develop servlets that manipulate response headers


  • Module 3: Developing a Simple Servlet that Uses HTML Forms
  • Describe the structure of HTML FORM tags
  • Describe how HTML forms send data using the CGI
  • Develop an HTTP servlets that accesses form data


  • Module 4: Developing a Web Application Using a Deployment Descriptor
  • Describe the requirements for a more robust Web application model
  • Develop a Web application using a deployment descriptor


  • Module 5: Configuring Servlets
  • Describe the events in a servlet life cycle and the corresponding servlet API methods
  • Describe servlet initialization parameters and their use with individual servlet instances
  • Write servlet code to access the configured initialization parameters


  • Module 6: Sharing Resources Using the Servlet Context
  • Describe the purpose and features of a servlet context
  • Develop a context listener that manages a Web application resource
  •