| ID | Lecture | Lab | Duration |
| SL-314 | 60% | 40% | 5 Days |
Course Description
The Web Component Development with Java™ Technology course provides students with the knowledge and skills needed to quickly build reference implementation-compliant Web tier components from JavaServer Pages™ (JSP™) and servlet technologies using the Tomcat server environment. Students are exposed to the current best practices for analyzing, designing, developing, testing, and deploying Web applications with Java technologies. Real-world lab exercises provide students experience with constructing and deploying small- to medium-scale Web applications found in intranet and low-volume commercial sites.This course also provides an ideal method of preparing for the new Sun Certified Web Component Developer certification examination. As such, students are not only taught the technical details of JSP and servlet technology, they also learn about the best practices for integrating the Web tier with the other tiers, from the browser display to Enterprise JavaBeans™ (EJB™) components running on an application server and backend database resources.
Who can benefit
Students who can benefit from this course are Java programming language developers with skills equivalent to that of a Sun Certified Developer for Java 2 Platform who are creating Web components, such as servlets and custom tags, used in the assembly and generation of dynamic Web content. This is not a course for Web page designers using Hypertext Markup Language (HTML), the JavaScript™ programming language, or other Web presentation technologies.Prerequisites
To succeed fully in this course, delegates should be able to:- Write Java™ technology applications, demonstrating significant programming ability
- Integrate existing Java technology-based code (that is, reuse existing classes created by other team members)
- Design Java technology applications
- Functionally describe the benefits of an n-tier architecture
- Write a Web page using HTML
Skills Gained
Delegates can gain the following skills upon completion of this course:
- Select the best web technology an application and architecture
- Write Java servlets
- Connect a web application to EJB components and databases
- Implement application management techniques, such as security and threading
- Write JSP pages
- Create custom tag libraries for JSP pages
Related Courses
| Before | SL-275 | Java™ Programming Language |
|---|---|---|
| Before | SL-285 | Java™ Programming Language Workshop |
| Before | FJ-310 | Optional: FJ-310: Developing J2EE™ Compliant Applications |
Course Content
Module 1 - Introduction to Web Application Technologies
- Describe Internet services
- Describe the World Wide Web
- Distinguish between web applications and web sites
- Describe Java servlet technology and list three benefits of this technology compared to 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 platform)
Module 2 - Developing a View Component
- Design a view component
- Describe the Hypertext Transfer Protocol
- Describe the web container behaviour
- Develop a view servlet
- Configure and deploy a servlet
Module 3 - Developing a Controller Component
- Design a controller component
- Create an HTML form
- Describe how HTML form data is sent in the Hypertext Transfer Protocol (HTTP) request
- Develop a controller servlet
- Dispatch from a controller servlet to a view servlet
Module 4 - Developing Dynamic Forms
- Describe the servlet life cycle
- Customize a servlet with initialization parameters
- Explain error reporting within the web form
- Repopulating the web form
Module 5 - Sharing Application Resources Using the Servlet Context
- Describe the purpose and features of the servlet context
- Develop a servlet context listener to initialize a shared application resource
Module 6 - Designing the Business Tier
- Describe the Analysis model
- Design entity components
- Design service components
Module 7 - Developing Web Applications Using Struts
- Design a web application using the Struts MVC framework
- Develop a Struts action class
- Configure the Struts action mappings
Module 8 - Developing Web Applications Using Session Management
- Describe the purpose of session management
- Design a web application that uses session management
- Develop servlets using session management
- Describe the cookies implementation of session management
- Describe the Uniform Resource Locator (URL)-rewriting implementation of session management
Module 9 - Using Filters in Web Applications
- Describe the web container request cycle
- Describe the Filter API
- Develop a filter class
- Configure a filter in the web.xml file
Module 10 - Integrating Web Applications With Databases
- Understand what a database management system (DBMS) does
- Design a web application to integrate with a DBMS
- Configuring a DataSource and Java Naming and Directory Interface (JNDI) API
Module 11 - Developing JSP Pages
- Describe JSP technology
- Write JSP code using scripting elements
- Write JSP code using the page directive
- Write JSP code using standard tags
- Write JSP code using the Expression Language (EL)
- Configure the JSP environment in the web.xml file
Module 12 - Developing JSP Pages Using Custom Tags
- Understand the job roles involved in web application development
- Understand the rationale in using custom tags
- Develop a JSP page using an existing custom tag library
Module 13 - Developing Web Applications Using Struts Action Forms
- Describe the components in a Struts application
- Develop an ActionForm class
- Develop a JSP page for a View form
- Configure the View forms
Module 14 - Building Reusable Web Presentation Components
- Describe how to build web page layouts from reusable presentation components
- Include JSP segments
- Develop layouts using the Struts Tiles framework