WA1173
Servlets & JSP Development with WebSphere Studio Application Developer
v5.1.1
Course Outline |
|
| 1. Introduction |
|
- WebSphere Studio Site Developer
- WebSphere Studio Application Developer
- Major differences with Visual Age for Java
|
|
| 2. Introduction to J2EE and WebSphere v5.1 |
|
- J2EE-based Web application architecture
- Application server functionality
- WebSphere platform introduction
|
|
| 3. J2EE Programming Using IBM WebSphere Studio Application Developer
WSAD v5.1 |
|
- Perspectives and views
- WSAD J2EE development
- WSAD project concepts
- EJB project
- Web project
- The WebSphere 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:useBean> Scope
- The <jsp:useBean> in Action
- The <jsp:getProperty> tag
- The <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. Web Applications and the MVC Pattern |
|
- 1/2/3/N - Tier Architecture
- Presentation Layer
- Middle Tier
- Model View Controller Pattern
- XML
|
|
| 11. Filters |
|
- Concepts
- The Filter API
- A simple filter
- Configuring filters
- Mapping filters to web resources
- Request and Response wrappers
- Creating filters with WSAD
|
|
| 12. 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
|
|
| 13. 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
|
|
| 14. Custom Tag Libraries |
|
- Using a Custom Tag Library
- Creating a Custom Tag Library
- Sample Custom Tag Library Components
- Packaging and Installation
- Advanced: Handling Tag Bodies
|
|
| 15. Introduction to Struts |
|
- Struts as an MVC Application Framework
- What Struts Provides
- Integrating Your Model
- Describing Your Controller
- Implementing Your View
- The Struts Configuration File
- Packaging a Struts-based Application
|
|
| 16. JSTL |
|
- Objectives
- The future of Struts Tags
- JSTL - What does it provide?
- JSTL actions
- Core JSTL tags
- Formatting tags
- Database tags
- XML tags
- JSTL Expression Language
- JSTL Implicit Objects
|
|
| 17. EJB Overview |
|
- Needs for EJB
- Distributed computing
- Distributed transaction
- Distributed security
- What are EJBs ?
- Main characteristics of EJBs
- Foundational technologies of EJBs
- EJB architecture components
- EJB client
- EJB JAR file
- EJB server
- EJB container
- Enterprise JavaBeans
- Session beans
- Entity beans
- EJB classes and interfaces
- Basic components of entity and session beans
- EJB home interface
- An EJB home interface example
- EJB home object
- EJB remote interfaces
- Remote interface example
- EJB objects
- EJB implementation class
- Deployment descriptors
- How do EJBs work
- EJB container services
- EJB application development
- Deploying enterprise beans
- Major components of deployed EJBs
- WebSphere EJB server architecture overview
- WebSphere EJB server environment
|
|
| Appendix A - 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 B - Advanced Tag Library Features |
|
- Including tag body
- Manipulating tag body
- Repeating tag body
- Accessing parents
|
|