Book description
Enterprise Java Programming with IBM WebSphere, Second Editionby Kyle Brown, Gary Craig, Greg Hester, Russell Stinehour, W. David Pitt, Mark Weitzel, JimAmsden, Peter M. Jakab, Daniel BergForeword by Martin Fowler
Enterprise Java Programming with IBM WebSphere, Second Edition is the definitive guide tobuilding mission-critical enterprise systems with J2EE, WebSphere, and WebSphere StudioApplication Developer. Fully updated for Versions 5.x of WebSphere Application Server andWebSphere Studio Application Developer, it combines expert architectural best practices with acase study that walks you through constructing an entire system.
The authors are an extraordinary team of WebSphere insiders: developers, consultants,instructors, and IBM WebSphere development team members. Together, they offer unprecedentedinsight into the use and behavior of WebSphere's APIs in real-world environments—andsystematic guidance for delivering systems of exceptional performance, robustness, and businessvalue.
Coverage includes—
Practical introductions to J2EE, WebSphere Application Server 5.0, and Web application architecture
Detailed coverage of Web application construction, including MVC partitioning with Struts, servlets/JSP, and session management
Step-by-step guidance for building and testing application business models, including JUnit testing
In-depth insight into EJB architecture, including transactions, security, and advanced object relational mapping
Web services: examples and best practices leveraging WebSphere Application Server 5.x's latest enhancements
CD-ROMs Included
The CD-ROMs contain trial copies of IBM WebSphere Studio Application Developer (Version 5.0.2),IBM WebSphere Application Server (Version 5.02), and DB2 Universal Database, Personal Edition(Version 8.1.2) for Microsoft Windows 2000/XP. The CD-ROMs also include source code for thecase study examples used in the book.
Table of contents
- Copyright
- IBM Press Series—Information Management
- Foreword
- Preface
-
1. Introduction
- 1.1. Why Software Development Must Consider the Whole Enterprise
- 1.2. How Iterative Development Addresses Key IT Management Issues
- 1.3. Today's Enterprise Applications Have New Requirements
- 1.4. What Is the Starting Point?
- 1.5. What Is a Layered Architecture?
- 1.6. Layered Architecture Benefits
- 1.7. Summary
- 2. Introduction to the Case Study
- 3. J2EE Overview
- 4. What Is WebSphere?
- 5. Presentation Layer Patterns
- 6. Servlets
- 7. Developing Servlets Using IBM WebSphere Studio Application Developer
- 8. Testing Servlets Using WSAD
- 9. Managing Session State
- 10. JavaServer Pages Concepts
- 11. Tag Libraries and Custom Tags
- 12. Design Considerations for Controllers
- 13. Developing and Testing JSPs in WSAD
- 14. Apache Struts as an MVC Framework
-
15. XML/XSL Web Interfaces in WSAD
- 15.1. Strategy for Using XML/XSL for Web Interfaces
- 15.2. Example XML/XSL Web Interface with WSAD
- 15.3. Creating the XSL File
- 15.4. Enhanced Example of XML/XSL Web Interface with WSAD
- 15.5. Dynamic Example XML/XSL Web Interface with WSAD
- 15.6. When to Use XML/XSL for Web Interfaces
- 15.7. Summary
-
16. Developing and Testing the Domain Model
- 16.1. The Domain Model Layer
-
16.2. The Data Mapping Layer
-
16.2.1. Object-to-Relational Mapping
- 16.2.1.1. Mapping Architecture Overview
- 16.2.1.2. Accessing Object-Specific Mappers
- 16.2.1.3. Mapping Objects to Relational Tables
- 16.2.1.4. Handling Object Identity
- 16.2.1.5. Mapping Object Attributes
- 16.2.1.6. Finding Objects
- 16.2.1.7. Maintaining Consistent State
- 16.2.1.8. Mapping Associations
- 16.2.1.9. Inheritance
- 16.2.1.10. Lazy Load
- 16.2.1.11. Keeping Track of Changes
- 16.2.1.12. Transaction Management
- 16.2.1.13. Odds and Ends
-
16.2.1. Object-to-Relational Mapping
- 16.3. Testing the Model
- 16.4. Summary
-
17. Unit and Functional Testing Applications in WSAD
- 17.1. Overall Testing Approaches
- 17.2. What Is JUnit?
- 17.3. A Simple Example
- 17.4. Unit Testing Containers with Cactus
- 17.5. Function Testing Applications in WSAD
- 17.6. Function Testing
- 17.7. What Is HttpUnit?
- 17.8. The HttpUnit API
- 17.9. Following Links
- 17.10. Working with Forms
- 17.11. Working with Tables
- 17.12. Working with Frames
- 17.13. Working with a Document Object Model (DOM)
- 17.14. 17.14 Functional Test Design Considerations
- 17.15. Summary
- 18. Supporting Enterprise Applications
- 19. Basic EJB Architecture
- 20. Developing EJBs with WSAD
-
21. Testing and Debugging EJBs in WSAD
- 21.1. Developing the Service Layer
-
21.2. Overview of the Testing Process
- 21.2.1. Step 1: Generate the EJB Deployment Classes for an EJB Project
- 21.2.2. Step 2: Create and Configure a Server Instance and Add the EAR Project
- 21.2.3. Step 3: Publishing and Starting the Server Instance
- 21.2.4. Step 4: Test Your EJB with the Universal Test Client and Client Web Module
- 21.2.5. Step 5: Debugging EJBs Using the WSAD Debugger
- 21.2.6. Step 6: Publish the enterprise application to an External WebSphere Server
- 21.2.7. Step 7: Debug the Published Application Using the Distributed Debugger
- 21.3. Summary
-
22. EJB Client Development
- 22.1. Using Servlets as EJB Clients
- 22.2. Building Java Application Clients
- 22.3. Applet Clients in WebSphere
- 22.4. Naming and the WebSphere Namespace
- 22.5. Creating a Test Client
- 22.6. Deploying Application Clients in WebSphere
- 22.7. Deploying and Running the EJB Client to the WebSphere Client Container
- 22.8. Some Design Points about EJB Clients
- 22.9. Summary
- 23. Simple CMP Entity Beans
-
24. CMP Mapping Strategies and Mapping in WSAD
- 24.1. Databases, CMPs, and Maps
- 24.2. Multiple Mapping Back-end Support
- 24.3. Exporting Database Tables
- 24.4. EJB Query Language
- 24.5. Summary
-
25. Advanced CMP Mapping
- 25.1. Simple Mapping Rules
- 25.2. Object-Relational Basics
- 25.3. Concepts in EJB 2.0 Relationships
- 25.4. Associations in UML
- 25.5. Relationships in WSAD V5.0
- 25.6. Creating a Single-Valued Relationship
- 25.7. Creating a Multivalued Relationship
- 25.8. Read Ahead Hints
- 25.9. Mapping Relationships
- 25.10. Weak vs. Strong Entities
- 25.11. EJB Inheritance in WSAD
- 25.12. Advanced EJB QL
- 25.13. Summary
- 26. Bean-Managed Persistence
- 27. Introduction to Message-Driven Beans
-
28. Transactions in WebSphere 5.0
- 28.1. JDBC Transactions
- 28.2. Transactions and 2-Phase Commit
- 28.3. JTA and Transaction Demarcation
- 28.4. Enabling 2-PC in WebSphere 5.0
- 28.5. EJBs and Container-Managed Transactions
- 28.6. Participating in a Transaction
- 28.7. Using XA Resources with 2-PC in WebSphere
- 28.8. Transaction Settings for J2EE 1.3 in WAS 5.0
- 28.9. Advice on Using Transactions
- 28.10. Extended Transaction Settings in WebSphere 5.0
- 28.11. Special Transaction Considerations for JMS
- 28.12. Dealing with Concurrency
- 28.13. Summary
- 29. J2EE Security in WebSphere
-
30. Building Layered Architectures for EJB Systems
- 30.1. Problems with an All-Entity EJB Solution
- 30.2. The Session Façade and DTO Solution
- 30.3. Design Points for Session Façades
- 30.4. Rules for Session Façades
- 30.5. Reasons for EJB Objects
- 30.6. A Simple Example from the Case Study
- 30.7. A More Complex Example
- 30.8. Mappers Revisited
- 30.9. Simulated Mappers
- 30.10. An Updating Example
- 30.11. Testing the Session Façade Example with JUnit
- 30.12. Running the Test Client
- 30.13. Rules for Creating Session Façades
- 30.14. Should Session Façades Return XML?
- 30.15. Summary
- 31. Implementing the Case Study User Interface
- 32. An Introduction to J2EE Web Services for WebSphere
-
33. Constructing J2EE Web Services for WebSphere
-
33.1. Getting Started with Web Services
- 33.1.1. Creating the Service Endpoint Interface
- 33.1.2. Using WSDL to Express the Service Description
- 33.1.3. Understanding WSDL
- 33.1.4. Creating the Deployment Descriptors
- 33.1.5. Updating the Deployment Descriptor
- 33.1.6. Preparing the Web Service for Deployment
- 33.1.7. Deploying the Web Service into WebSphere
- 33.1.8. Publishing the WSDL
- 33.1.9. Creating a Web Service in Summary
- 33.2. Building Web Service Clients
- 33.3. Summary
-
33.1. Getting Started with Web Services
- 34. Web Services Architectures and Best Practices
- 35. A Final Look
- A. Installing Products and Examples from the CDs
- B. Constructing J2EE Web Services Using WSAD 5.1
- Bibliography
- Article
- About the CD-ROMs
Product information
- Title: Enterprise Java Programming with IBM WebSphere
- Author(s):
- Release date: December 2003
- Publisher(s): IBM Press
- ISBN: None
You might also like
book
IBM WebSphere Application Server 8.0 Administration Guide
With your C++ skills and our writers’ know-how, you’re well on your way to using the …
book
IBM WebSphere Application Server V8.5 Administration and Configuration Guide for Liberty Profile
IBM® WebSphere® Application Server V8.5 includes a Liberty profile, which is a highly composable, dynamic application …
book
J2EE™ and JAX™: Developing Web Applications and Web Services
Learn J2EE and the JAX APIs for Web services and applications—all in one volume. The first …
book
WebSphere Application Server V8.5 Concepts, Planning, and Design Guide
This IBM® Redbooks® publication provides information about the concepts, planning, and design of IBM WebSphere® Application …