Book description
Complete guide for WebSphere application development
How to make the best use of available tools
Product experts reveal their secrets
Complete guide for WebSphere application development
How to make the best use of available tools
Product experts reveal their secrets
This IBM Redbook provides detailed information on how to develop Web applications for IBM WebSphere Application Server Version 4 using a variety of application development tools.
The target audience for this book includes team leaders and developers, who are setting up a new J2EE development project using WebSphere Application Server and related tools. It also includes developers with experience of earlier versions of the WebSphere products, who are looking to migrate to the Version 4 environment.
This book is split into four parts, starting with an introduction, which is followed by parts presenting topics relating to the high-level development activities of analysis and design, code, and unit test. A common theme running through all parts of the book is the use of tooling and automation to improve productivity and streamline the development process.
In Part 1 we introduce the WebSphere programming model, the application development tools, and the example application we use in our discussions.
In Part 2 we cover the analysis and design process, from requirements modeling through object modeling and code generation to the usage of frameworks.
In Part 3 we cover coding and building an application using the Java 2 Software Development Kit, WebSphere Studio Version 4, and VisualAge for Java Version 4. We touch on Software Configuration Management using Rational ClearCase and provide coding guidelines for WebSphere applications. We also cover coding using frameworks, such as Jakarta Struts and WebSphere Business Components.
In Part 4 we cover application testing from simple unit testing through application assembly and deployment to debugging and tracing. We also investigate how unit testing can be automated using JUnit.
In our examples we often refer to the PiggyBank application. This is a very simple J2EE application we created to help illustrate the use of the tools, concepts and principles we describe throughout the book.
Table of contents
- Copyright
- Preface
-
1. Introduction
-
1. WebSphere programming model
- Characteristics of the programming model
- Architectures supported by WebSphere
- Application components
- Control flow mechanisms
- Data flow sources
- Chapter summary
- 2. Tools overview
- 3. About the PiggyBank application
-
1. WebSphere programming model
-
2. Analysis and design
- 4. Overview of development activities
- 5. Requirements modeling
-
6. Modeling and code generation
- Code generation
- Setting the default language for Rose
- Code generation and reverse engineering
- Integration with VisualAge for Java
- Designing EJBs with Rational Rose
- 7. Designing with frameworks
-
3. Coding the application
- 8. Setting up a development environment
-
9. Development using the Java 2 Software Development Kit
- Organizing the project directory structure
- Using the Java 2 SDK to build the application
-
Using Ant to build a WebSphere application
- What is Ant?
- Installing and configuring Ant
- Ant build files
- Built-in tasks
- Creating build files for the PiggyBank application
- Master build file
- Building the common code
- Building the EJBs
- Building the use cases
- Building the standalone client application
- Building the Web application
- Further automation opportunities using Ant
- Working with meta-data
- 10. Development using WebSphere Studio
- 11. Development using VisualAge for Java
-
12. Development with frameworks
-
Jakarta Struts
- Using Struts in your development environment
- Struts configuration file
- Building a Struts form
- Building a Struts action
- Form validation
- Message facility
- Internationalization
- Struts conclusions
- WebSphere Business Components Composer
- What we have achieved in this chapter
-
Jakarta Struts
-
13. Guidelines for coding WebSphere applications
- Using JNDI
-
Message logging
- Why do we need a logging framework?
- What do we need from a logging framework?
- PiggyBank log wrapper
- Choosing a framework
- Using the WebSphere JRas facility
- Using Log4J
- Logging conclusions
- Coding for performance
- Managing application versions
- 14. Software Configuration Management
-
4. Unit testing the application
-
15. Assembling the application
- Application Assembly Tool (AAT)
- EJB deployment tool
-
16. Deploying to the test environment
- EARExpander command line tool
- SEAppInstall command line tool
- Single Server Edition: the browser-based console
- Advanced Edition: the stand-alone console
- Web server plugin
- Application client resource configuration tool
- Other tools in the Advanced Edition
- Performing a unit test: executing the application
-
17. Debugging the application
- Debugging with VisualAge for Java Version 4.0
-
Debugging with the Distributed Debugger and OLT
- Enabling debugging support in WebSphere Application Server
- Enabling support in Advanced Edition
- Enabling support in Advanced Edition, Single Server
- Using Object Level Trace
- Using the Distributed Debugger
- Debugging WebSphere Studio code
- A special case: how to debug a JSP
- 18. Automating unit testing using JUnit
-
15. Assembling the application
- 5. Appendixes
- Back cover
Product information
- Title: WebSphere Version 4 Application Development Handbook
- Author(s):
- Release date: March 2002
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
WebSphere Version 5 Application Development Handbook
This IBM Redbooks publication provides detailed information on how to develop J2EE-compliant Web applications for WebSphere …
book
Enterprise Java Programming with IBM WebSphere
Enterprise Java Programming with IBM WebSphere, Second Edition by Kyle Brown, Gary Craig, Greg Hester, Russell …
book
Patterns-Based Engineering: Successfully Delivering Solutions via Patterns
Successfully delivering Solutions via Patterns In , two leading experts bring together true best practices for …
audiobook
Transformed
Help transform your business and innovate like the world's top tech companies! Transformed: Moving to the …