Design and Implement Servlets, JSPs, and EJBs for IBM WebSphere Application Server

An IBM Redbooks publication


This IBM IBM Redbooks publication provides design guidelines for developing e-business applications based on servlets, JavaServer Pages (JSP) and Enterprise JavaBean (EJB) technologies.

The guidelines are based on WebSphere Application Server Advanced Edition. The book describes the concepts of workload balancing through the use of a network dispatcher and clones of the Application Server.

The book proposes a design of Web applications based on design patterns, such as the model-view-controller paradigm and the command framework. In this context, the usage of enterprise beans, including access beans, associations, and collections is explored in detail, and a set of EJB-based design patterns is described.

Part 1, "Choosing appropriate Web technologies" provides guidelines on how to design specific components of an application. It also explains why and when a designer should move business logic from JavaBeans to a more powerful technology like Enterprise JavaBeans.

Part 2, "Design patterns and guidelines" is a set of design patterns for building e-business applications. Readers can use the information directly from a chapter and apply it in their own designs.

Table of contents

Part 1. Choosing appropriate Web technologies
Chapter 1. Introduction
Chapter 2. A scalable and reliable topology
2.1 TCP/IP load balancing and failover
2.2 Servlet load balancing
2.3 Servlets/EJB load balancing
2.4 Security
Chapter 3. Support for pervasive computing
3.1 Pervasive computing and its impact
3.2 Problems with supporting multiple types of clients
3.3 Description of the solution
Chapter 4. WebSphere command framework
4.1 Command pattern
4.2 Pattern description
4.3 Command programming model
4.4 Command target and server implementation
4.5 Command client model
Chapter 5. The need for EJB technology
5.1 Multiple client types accessing shared data
5.2 Concurrent read and update access to shared data
5.3 Accessing multiple datasources with transactional capabilities
5.4 Method-level object security
5.5 Portable component-based architecture
5.6 Multiple servers to handle throughput and availability
5.7 Adopting enterprise bean technology
Chapter 6. Access beans
6.1 Wrappers
6.2 Copy helpers
6.3 Rowsets
6.4 Access beans and associations
6.5 Access beans and WLM
6.6 Use of access beans
Chapter 7. Associations
7.1 Overview
7.2 Description of the association solution
7.3 Association developer and user responsibilities
7.4 Hints and tips
7.5 Association deployment
7.6 Performance impacts
Chapter 8. Collections
8.1 What are collections?
8.2 Enumerations with Finders
8.3 Using the JDBC API
8.4 Conclusion
Part 2. Design patterns and guidelines
Chapter 9. Servlets/JSP pattern and guidelines
9.1 Servlet/JSP pattern
9.2 XML data islands
9.3 Applet to server communication
9.4 Pushing content to the client
Chapter 10. EJB design patterns
10.1 Factory for EJB Homes
10.2 EJB session facade to entity beans
10.3 Optimistic locking pattern
Chapter 11. EJB performance guidelines
11.1 Database acces


Publish Date
23 August 2000

(based on 4 reviews)




IBM Form Number

Number of pages