Book description
This IBM Redbooks publication provides detailed information on how to develop J2EE-compliant Web applications for WebSphere Application Server Version 5 using WebSphere Studio Application Developer Version 5.1 as an integrated development environment. Also covered are a variety of application development tools from IBM and Open Source.
The target audience for this book includes the entire application development team, especially architects and developers. It also includes developers with experience of earlier versions of the WebSphere products, who are looking to migrate to Version 5.
This book is organized in four main parts:
- Introduction—covering the J2EE programming model, the
development process, and software configuration management
- Requirements, analysis, architecture, and design—covering
the early phases of a project, using Rational XDE
- Implementation—covering the coding of business logic,
presentation, and Web services, using Application Developer
- Debugging, unit testing, deployment, and
measurements—covering the test and production phases of a
project, using Application Developer, Application Server, and Open
Source tools
Throughout the book, we refer to PiggyBank, a sample J2EE application we create step-by-step to illustrate the use of the tools, concepts, and principles of the application development process.
Please note that the additional material referenced in the text is not available from IBM.
Table of contents
- Notices
-
Part 1: Introduction
- Chapter 1: Introduction
-
Chapter 2: J2EE programming model
- J2EE platform (1/2)
- J2EE platform (2/2)
- J2EE roles
- J2EE application model and components
- WebSphere Application Server (1/2)
- WebSphere Application Server (2/2)
- Summary
- Chapter 3: Development process
- Chapter 4: Software configuration management
-
Part 2: Requirements, analysis, and design
- Chapter 5: Requirements
- Chapter 6: Analysis
- Chapter 7: Architecture
-
Chapter 8: Design
- Moving from analysis to design
- Design model structure
- Creating the design model in Rational XDE
- PiggyBank design
- Integration layer design (1/2)
- Integration layer design (2/2)
- Business layer design (1/3)
- Business layer design (2/3)
- Business layer design (3/3)
- Presentation layer design (1/2)
- Presentation layer design (2/2)
- Common elements design
- Packaging the application
- Summary
-
Part 3: Implementation
- Chapter 9: Considerations
- Chapter 10: Code generation
-
Chapter 11: Business logic
- PiggyBank business layer
- Preparing Application Developer
- Implementing the components
- Implementing the framework project
- Implementing the business delegate project
- Creating an enterprise application for the EJBs
- Preparing the WebSphere test environment (1/2)
- Preparing the WebSphere test environment (2/2)
- Utility projects
- Implementing the EJB project (1/11)
- Implementing the EJB project (2/11)
- Implementing the EJB project (3/11)
- Implementing the EJB project (4/11)
- Implementing the EJB project (5/11)
- Implementing the EJB project (6/11)
- Implementing the EJB project (7/11)
- Implementing the EJB project (8/11)
- Implementing the EJB project (9/11)
- Implementing the EJB project (10/11)
-
Implementing the EJB project (11/11)
- Project properties
- Creating the packages
- Reviewing the model
- Creating the transfer objects
- Creating the CMP entity beans
- Tailoring the CMP entity beans
- Creating the relationship
- Mapping the entity beans to tables
- Creating the database and the tables
- Generating the deployed code
- Completing the deployment descriptor
- Testing the enterprise beans
- Creating the session bean session facade
- Setting the deployment properties
- Security
- Testing the session facade in the universal test client
- Adding a UML visualization class diagram
- Summary
-
Chapter 12: Presentation
- Application Developer setup
- Model 1 Web client (1/8)
- Model 1 Web client (2/8)
- Model 1 Web client (3/8)
- Model 1 Web client (4/8)
- Model 1 Web client (5/8)
- Model 1 Web client (6/8)
- Model 1 Web client (7/8)
-
Model 1 Web client (8/8)
- Creating a dynamic Web project
- Copy the HTML pages from the prototype
- Login configuration
- Servlet development
-
JSP development
- HTML and JSP files
- Running with and without security
- JSP fragment for standard menu
- Hyperlinking to a servlet
- Hyperlink with GET HTTP parameters
- Hyperlink with POST HTTP parameters (security logout)
- Linking a form to a servlet
- Using a bean
- Displaying a bean property
- Displaying a list of accounts
- Error page
- Updating the HTML links
- Resulting pages
- Defining an EJB reference
- Testing the Web application
- References about servlets and JSPs
- Struts (1/10)
- Struts (2/10)
- Struts (3/10)
- Struts (4/10)
- Struts (5/10)
- Struts (6/10)
- Struts (7/10)
- Struts (8/10)
- Struts (9/10)
-
Struts (10/10)
- Struts description
- Struts applicability
- Struts components
- Application Developer support for Struts
- Roadmap
- Creating a dynamic Web project with Struts support
- Implementation overview
- Setting up the initial JSP files
- Struts security configuration and login pages
- Designing the application flow using a Web diagram
- Implementing the form beans
- Implementing field validation in the form beans
- Application resources
- Creating the BaseAction
- Creating an action
-
Implementing the JSPs
- New JSP File wizard
- Implementing the home page
- Implementing the JSP fragment
- Implementing the main menu
- Implementing the DisplayAccountsResult JSP
- Implementing the TransferAccounts JSP
- Implementing the TransferForm JSP
- Implementing the TransferResult JSP
- Implementing the ErrorMessage JSP
- Implementing the LogoutResult JSP
- Setting the action in the UnsecureLoginForm JSP
- Implementing the actions
- Tailoring the configuration file
- Showing the input JSP in the Web diagram
- ApplicationInitServlet
- Testing the Struts application
- Printing the Web diagram
- Struts references
- Swing GUI (1/3)
- Swing GUI (2/3)
- Swing GUI (3/3)
- Summary
-
Chapter 13: Web services
- Introduction (1/2)
- Introduction (2/2)
- Web service support in Application Developer
- Connecting PiggyBank to CityBank
- Web service development for CityBank (1/2)
- Web service development for CityBank (2/2)
- Web service client development (1/2)
- Web service client development (2/2)
- Integrating the Web service client into PiggyBank
- Summary
-
Part 4: Debugging, unit testing, deployment, and measurement
- Chapter 14: Debugging
-
Chapter 15: Unit testing
- Unit testing
- JUnit
- Testing with JUnit
- Organizing the tests
- Creating test cases (1/3)
- Creating test cases (2/3)
- Creating test cases (3/3)
- Cactus (1/2)
- Cactus (2/2)
- Test servlets and EJBs with Cactus (1/2)
- Test servlets and EJBs with Cactus (2/2)
- Summary
- Chapter 16: Profiling
-
Chapter 17: Deployment
- Deployment using a remote server
- Deployment using the Administrative Console (1/2)
- Deployment using the Administrative Console (2/2)
- Deployment using Ant and wsadmin
- PiggyBank Ant and wsadmin scripts (1/4)
- PiggyBank Ant and wsadmin scripts (2/4)
- PiggyBank Ant and wsadmin scripts (3/4)
-
PiggyBank Ant and wsadmin scripts (4/4)
- Tailoring the scripts
- Changing an environment variable
- Creating a JDBC provider
- Creating a data source
- Enable/disable global security
- Installing applications
- Listing applications in the server
- Starting, stopping, and restarting the server
- Deploying the application with an Ant master file
- Running the Ant scripts
- Deploying the universal test client
- Summary
- Chapter 18: Performance and load testing
-
Chapter 19: Web analytics
- Introduction (1/2)
- Introduction (2/2)
- Using WebTrends Log Analyzer (WLA) (1/3)
- Using WebTrends Log Analyzer (WLA) (2/3)
- Using WebTrends Log Analyzer (WLA) (3/3)
- Examining the reports (1/4)
- Examining the reports (2/4)
- Examining the reports (3/4)
- Examining the reports (4/4)
- Problems
- More information
- Summary
-
Part 5: Appendixes
-
Appendix A: Setting up the environment
- Installation planning
- Hardware
- Software
- Operating system users
- Installation of DB2 UDB
- Installation of WebSphere Application Server 5.0
- Installation process
- Verifying the installation
- Installing Fixpack 2 for WebSphere Application Server 5.0
- Installation of WebSphere Studio Application Developer
- Installation of Application Developer 5.1
- Specifying the Application Developer workspace
- Installing the IBM Agent Controller
- Installation of Application Developer 5.0.1
- Installation of Rational XDE
- Setting up the PIG_BANK database
- Sample customer data
- Sample account data
-
Appendix B: Additional material
- Locating the Web material
- Using the Web material
- System requirements for downloading the Web material
- Content of the Web material
- Workspace projects
- Installing and running the PiggyBank application
- Importing the sample code into Application Developer Version 5.1
- Application Developer preferences
- Importing a server configuration
- Tailoring the server configuration
-
Appendix A: Setting up the environment
- Abbreviations and acronyms
- Related publications
- Index (1/4)
- Index (2/4)
- Index (3/4)
- Index (4/4)
- Back cover
Product information
- Title: WebSphere Version 5 Application Development Handbook
- Author(s):
- Release date: December 2003
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
WebSphere Version 4 Application Development Handbook
Complete guide for WebSphere application development How to make the best use of available tools Product …
book
WebSphere Application Server - Express V6 Developers Guide and Development Examples
This IBM Redbooks publication is a practical guide for developing Web applications using the Rational Software …
book
WebSphere Application Server - Express: A Development Example for New Developers
This IBM Redbooks publication is a practical guide to developing Web applications using WebSphere Studio. WebSphere …
book
MQSeries Publish/Subscribe Applications
Publish and Subscribe is an effective way of disseminating information to multiple users. Publish/Subscribe applications can …