Overview
This course will integrate a combination of instructor-led discussions and interactive workshops to demonstrate the development and testing of server-side applications using J2EE v1.4 component model. This course will focus on illustrating the use of the WSAD v5.1 product for developing servlets, JSPs, JavaBeans and EJBs. This seminar will focus on: WSAD wizards, migration to v5.1, servlet and JSP component development, session, message and entity EJB development, J2CA and their adapters, Web Services framework, JMS and MQSeries, packaging and deployment issues, J2EE Design patterns and Struts development.
Prerequisites
Each student should have a basic understanding of the WWW and have been exposed to the Java programming language
Class Format
Lecture and Lab
Audience
Web page designers, end users and other professionals that will be designing, developing and implementing interactive Websites using HTML, JavaServer Pages, JavaBeans and implementing them using IBM’s WSAD v5.1.
Learning Objectives
After completing this course, the student should be able to:
- Understand the role of the WSAD v5.1 IDE
tool
- Explain the role of WSAD projects and perspectives
- Demonstrate the usage of WSAD wizards for
rapidly developing components, projects and
servers
- Illustrate the J2EE 1.4 component model and
role in designing server-side applications
- Develop, debug and test servlet and JSP components
- Understand role of JDBC to establish connectivity
to relational structures
- Illustrate the role of Struts and develop
Struts oriented applications
- Understand the role of Web Services, UDDI
Registries and the Service Oriented Architecture
- Depict the role of JMS and MQSeries
- Demonstrate the usage of J2CA and the role
of resource adapters
- Illustrate WSAD v5.1 projects and packaging
- Deploy applications to the embedded WebSphere
Application Server
Course Duration
5 Days
Course outline
WebSphere
Overview
- Multitiered overview
- N-tier architecture
- Model-View-Controller
- WebSphere products
- Browser role
- HTTP Server
- Application Server
- Standalone vs Network Deployment administration
- WSAD Suite
- J2EE platform
- J2EE APIs
- J2EE services: JNDI, JDBC, Security,
RMI, JMS, etc
- J2EE packaging
- Application lifecycle
- WebSphere architecture: Cells, Clusters,
Nodes, Node Agents, Web Services Gateway
- WSAD development environment
WSAD IDE
- Understanding Eclipse
- Multiple document interface
- WebSphere Studio family
- Plug-in architecture
- Java development features
- Web development
- XML capabilities
- Server configuration
- Deployment Descriptors
- Projects and Perspectives
- WSAD folder structure
- Import/Export projects
- Utilizing Perspectives
- Navigation panel
WSAD Debugger
- Debugger role
- Debug perspective
- Debugger preference settings
- Initiating debugger
- Suspended threads
- Execution controls
- Inspecting expressions
- Breakpoints
- Exception handling
- WSAD Scrapbook
Servlet
Development
- Servlet Evolution
- Characteristics
- Statement blocks
- Stateless vs Stateful
- Servlet message structure:
HTTP header & FORM data
- Web Container: Instance Pool, JVM and
JRE roles
- Lifecycle
- HTML FORM interaction: ACTION and METHOD
parameters
- POST vs GET processing
- Reading POST data
- Java Servlet API
- init
destroy methods
- Development in WSAD
- Servlet Operational model
- Deployment and testing
Session Data
- Session support
- WebSphere Session management
- Retrieve HttpSession
- Invalidation
- Accessing existing sessions
- RequestDispatcher
Servlet Contexts
Session configuration
Persistent Session types
WebSphere internal messaging: Peer-to-Peer
vs Client/Server
Session affinity
Cookies
JavaServer
Pages
- JSP Components
- JSP & Servlet integration
- Servlet/JSP model
- JSP request cycle
- Operational model
- JSP translations
- Forwarding
- JSP methods: jspInit, jspService and
jspDestroy
- JSP Tags and scripting elements
- Implicit objects
- Directives
- Declarations
- Expressions
- Scriptlets
- JSP Action tags
- JavaBean integration
- useBean
Scope attribute
- Development using WSAD
EJB Overview
- EJB benefits
- EJB portability foundation
- EJB container services and responsibilities
- Enterprise Bean types
- Session vs Entity vs Message beans
- Stateful vs Stateless Session
- Managing state data
- CMP vs BMP Entity beans
- EJB Container role
- Bean lifecycle management
- Transactional processing
- Security issues
- Development within WSAD
Web Services
- Service-oriented architecture
- Web service model
- B2C vs B2B
- Role of XML
- SOAP and SOAP messages
- WSDL
- UDDI registries
- Web Services Gateway
- JCA integration
JMS and MQSeries
- JMS and JMS Providers
- Asynchronous Messaging
- Publish/Subscribe
- Point-to-Point
- Connection Factories
- JMS Destinations
- JMS Listeners
- Listener Managers
- ejb-jar.xml
updates
- WebSphereMQ
- Queue Managers and Brokers
- WebSphereMQ Clustering
- Network Deployment implementation
Assembly &
Deployment
- Application packaging
- IBM specific packaging
- Application Assembly Tool
- earconvert tool
- EJB migration
- ejbdeploy command
- Servlet WAR creation
- Packaging WAR files
- Class loading policies
- Enterprise application installation
- Network deployment
JSP Tag Libraries
- Custom Tag libraries
- Tag Handler classes
- Tag Library Descriptor file
- taglib
page directive
- Defining TLD entries
- Deploying Tag libraries
- Using web.xml aliases
- JSP Standard Tag Libraries
- JSTL Expression language
|