WA1059 Servlet & JSP Development using WebSphere Studio Application
Developer V4.x
Course Outline |
|
| 1. Introduction |
|
- WebSphere Studio Site Developer
- WebSphere Studio Application Developer
- Major differences with VisaulAge for Java
|
|
| 2. Overview of Web Applications |
|
- J2EE-based Web application architecture
- Application server functionality
- WebSphere platform introduction
|
|
| 3. J2EE Programming Using IBM WebSphere Studio Application Developer |
|
- WSAD
- Perspectives and views
- WSAD J2EE development
- WSAD project concepts
- EJB project
- Web project
- The WebSphere V4.0 Test Environment in WSAD
|
|
| 4. Servlets - Basic |
|
- Servlet overview
- HTTP Servlet API
- Servlet life cycle
- Example
- Developing servlets
- Create a Web project in WSAD
- Code, test and debug a servlet
|
|
| 5. Servlet interaction interface |
|
- Request
- Response
- ServletContext
- Servlet session tracking
|
|
| 6. JSPs |
|
- JSP overview
- JSP directives
- JSP expressions
- JSP scriptlets
- JSP declarations
- Examples
- Developing and testing JSP
- JavaServer Pages in WSAD
- Editing JSP
- Predefined variables
- Examples
- JSP page design in WSAD
- JSP testing in WSAD
- JSP debugging in WSAD
|
|
| 7. Using Java Beans in a JSP |
|
- Objectives
- What is a JavaBean?
- Structure of a JavaBean
- Life cycle
- Properties
- A very simple bean
- Using JavaBeans in JSP
- The <jsp:useBean> tag
- The <jsp:jsp:useBean> Scope
- The <jsp:jsp:useBean> in Action
- The <jsp:jsp:getProperty> tag
- The <jsp:jsp:setProperty> tag
- Another example
- Mixing scriplets and bean tags
|
|
| 8. JSP Programming Techniques |
|
- Form input validation
- Session management
- Error handling
- Cookies
|
|
| 9. Servlet Programming - Advanced |
|
- Programming with the MVC model
- JDBC and database connection pooling
- Session tracking
- Integrating servlet and JSP
- Examples
- DB2 UDB JDBC drivers in WSAD
- Create a JavaBean with WSAD
- Add attributes and getters and setters with WSAD
|
|
| 10. Architecting MVC Applications |
|
- Model-View-Controller architecture
- Advantages and disadvantages
- Model 1 architecture
- Model 2 architecture
|
|
| 11. Assembling Web applications with the WebSphere Application Assembly Tool |
|
- J2EE application assembling modules
- Assembling Web applications with the WebSphere Application Assembly Tool
- Installing Web applications in WebSphere Application Server
|
|
| 12. Installing Web Modules inside WebSphere Application Server |
|
- Editing the J2EE deployment descriptor using WSAD and the AAT.
- Architecture of WebSphere Application Server administration
- Using the WebSphere Administration Console to add enterprise applications
|
|
| 13. Custom JSP Tag Libraries |
|
- JSP taglib directive
- Tag Handler classes
- Tag Library descriptor file
- Struts tag Libs
|
|
| Appendix A – Struts Architecture and Overview |
|
- Introduction to Struts
- Objectives
- Review: MVC model
- What is Struts?
- Struts flow
- Components in Struts?
- The Model
- The View
- The Controller
- struts-config.xml
- The <data-sources> element
- The <form-beans> element
- The <global-forwards> element
- The <action-mappings> element
- Sample
- The role of web.xml for the application
- Configuring Struts in web.xml
- web.xml content
- Steps to configuring Struts in web.xml
- Sample
- Summary
|
|
| Appendix B - Tag Handlers |
|
- Tag handler lifecycle
- Processing the tag
- Writing output
- taglib element in the DTD
- tag element in the DTD
- Using pagecontext
- Exception handling
|
|
| Appendix C - Advanced Tag Library Features |
|
- Including tag body
- Manipulating tag body
- Repeating tag body
- Accessing parents
|
|