WebSphere Application Server - Express V6 Developers Guide and Development Examples

Book description

This IBM Redbooks publication is a practical guide for developing Web applications using the Rational Software Development Platform. We use the Rational Web Developer development environment that is provided as part of WebSphere Application Server - Express V6 to develop a sample Web application targeted to the WebSphere Application Server - Express runtime platform. We discuss a sample scenario based on realistic requirements for small and medium customers, and provide a guide for the development of this scenario.
Our focus is on describing a simple process that allows non technical readers to understand and participate in the development of Web applications using Rational Web Developer. Our target runtime environment is the Express Application Server so we use the Rational Web Developer development environment that is part of the WebSphere Application Server - Express installation

Please note that the additional material referenced in the text is not available from IBM.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team that wrote this redbook
    2. Become a published author
    3. Comments welcome
  3. Part 1: The development process
    1. Chapter 1: Introduction
      1. Our objectives
      2. The focus of this redbook
      3. How to use this book
    2. Chapter 2: Development process
      1. Development process basics
        1. Definition of a development process
        2. Importance of a development process
        3. Realization of a development process
        4. Development process principles
      2. Starting a project
        1. Understanding your business today
        2. Where do you want to go?
        3. An initial roadmap
      3. Understanding and planning a project
      4. Building a solution
      5. Project hand-over
      6. Real estate application architecture
        1. Component-based architecture
        2. Layered design
        3. Package structure
        4. Naming conventions
      7. Application architecture
      8. Overview of the architecture
        1. Component-based development
        2. Layered application design
        3. Usage of design patterns
      9. Component architecture
        1. PropertyCatalog
        2. News
        3. E-mail
        4. InterestList
        5. Reporting
        6. User
        7. Dependencies between components
      10. Layered architecture
        1. Presentation layer
        2. Controller layer
        3. Business facade layer
        4. Domain layer
        5. Data access layer
    3. Chapter 3: Product overview
      1. The WebSphere product family
        1. The WebSphere Application Server family
      2. WebSphere Application Server - Express V6 (1/5)
      3. WebSphere Application Server - Express V6 (2/5)
      4. WebSphere Application Server - Express V6 (3/5)
      5. WebSphere Application Server - Express V6 (4/5)
      6. WebSphere Application Server - Express V6 (5/5)
        1. The WebSphere Application Server highlights
        2. The development tool
        3. Rational Developer supported platforms and databases
        4. Rational Web Developer V6 product packaging
        5. Rational Web Developer tools
        6. WebSphere Application Server licensing and platforms
        7. New in WebSphere Application Server - Express V6
        8. Physical Packaging
      7. WebSphere Application Server architecture
      8. Application server configurations
        1. Standalone server configuration
        2. Distributed server configuration
      9. Cells, nodes and servers
      10. Servers
        1. Application server
        2. Clusters
        3. JMS servers (V5)
        4. External servers
      11. Containers
        1. Web container
        2. EJB container
        3. Client application container
      12. Application server services (1/2)
      13. Application server services (2/2)
        1. JCA services
        2. Transaction service
        3. Dynamic cache service
        4. Message listener service
        5. Object Request Broker service
        6. Admin service
        7. Name service
        8. PMI service
        9. Security service
      14. Data Replication Service (DRS)
      15. Virtual hosts
      16. Session management
        1. HTTP Session persistence
        2. Stateful session EJB persistence
      17. Web services (1/2)
      18. Web services (2/2)
        1. Enterprise services (JCA Web services)
        2. Web service client
        3. Web service provider
        4. Enterprise Web Services
        5. IBM WebSphere UDDI Registry
        6. Web Services Gateway
      19. Service integration bus
        1. Application support
        2. Service integration bus and messaging
        3. Web services and the integration bus
      20. Security (1/2)
      21. Security (2/2)
        1. User registry
        2. Authentication
        3. Authorization
        4. Security components
        5. Security flows
      22. Resource providers (1/2)
      23. Resource providers (2/2)
        1. JDBC resources
        2. Mail providers
        3. JCA resource adapters
        4. URL providers
        5. JMS providers
        6. Resource environment providers
      24. Workload management
      25. High availability
      26. Administration
        1. Administration tools
        2. Configuration repository
        3. Centralized administration
      27. Application flow
      28. Developing and deploying applications
        1. Application design
        2. Application development
        3. Application packaging
        4. Application deployment
        5. WebSphere Rapid Deployment
      29. Technology support summary
    4. Chapter 4: Getting started
      1. Product packaging
      2. Rational Web Developer
      3. Installing WebSphere Application Server - Express (1/5)
      4. Installing WebSphere Application Server - Express (2/5)
      5. Installing WebSphere Application Server - Express (3/5)
      6. Installing WebSphere Application Server - Express (4/5)
      7. Installing WebSphere Application Server - Express (5/5)
        1. Hardware requirements
        2. Installing using the launchpad
        3. Install WebSphere Application Server - Express
        4. Using the first steps console
      8. Administration basics (1/2)
      9. Administration basics (2/2)
        1. Starting and stopping the server
        2. Starting the WebSphere Administrative Console
      10. Installing Rational Web Developer (1/3)
      11. Installing Rational Web Developer (2/3)
      12. Installing Rational Web Developer (3/3)
        1. Express Application Server and Rational Web Developer
      13. Installing DB2 (1/3)
      14. Installing DB2 (2/3)
      15. Installing DB2 (3/3)
      16. Deploying the sample application (1/5)
      17. Deploying the sample application (2/5)
      18. Deploying the sample application (3/5)
      19. Deploying the sample application (4/5)
      20. Deploying the sample application (5/5)
        1. Running the sample database script
        2. Creating the JDBC resources
        3. Configuring JMS
        4. Configuring LOG4J
        5. Installing the Sal404 application EAR
      21. Testing the Sal404 sample application (1/2)
      22. Testing the Sal404 sample application (2/2)
      23. Installing Sal404 code in Rational Web Developer (1/2)
      24. Installing Sal404 code in Rational Web Developer (2/2)
        1. Importing project interchange files
        2. Test Sal404 with Rational Software Development Platform
    5. Chapter 5: Requirements
      1. Application overview
      2. Requirements
        1. Bidding system
        2. Catalog search and news feed Web services
        3. User maintenance with Java Message Service
        4. Use JavaServer Faces for the news component
        5. Reference data component
      3. Specification (1/2)
      4. Specification (2/2)
        1. Bidding system
        2. Reference data component
        3. Session management
        4. Session data
  4. Part 2: Development examples
    1. Chapter 6: Web site development
      1. Introduction to Web applications (1/3)
      2. Introduction to Web applications (2/3)
      3. Introduction to Web applications (3/3)
        1. Concepts and technologies
        2. Web development tooling
        3. Web perspective and views
        4. Web projects
        5. Web Site Designer
        6. Page Designer
        7. Page templates
        8. CSS Designer
        9. Javascript Editor
        10. WebArt Designer
        11. Animated GIF Designer
        12. File creation wizards
        13. Our sample Web site project
    2. Chapter 7: JavaServer Faces
      1. Introduction to JSF
        1. Model-view-controller architecture
        2. JSF Web application structure
        3. JSF support in Rational Web Developer
      2. Comparing JSF and Struts
        1. Validation
        2. XML configuration management
        3. Templating
      3. Introduction to Service Data Objects
        1. Rational Web Developer support for SDO
      4. Design of the JSF SDO sample
        1. JSF template
      5. Implementing the JSF application (1/6)
      6. Implementing the JSF application (2/6)
      7. Implementing the JSF application (3/6)
      8. Implementing the JSF application (4/6)
      9. Implementing the JSF application (5/6)
      10. Implementing the JSF application (6/6)
        1. Creating the JSP fragments
        2. Creating the template
        3. Creating the home page
        4. Creating the About Us page
        5. Creating the news list page
        6. Preparing the news list page for selection and updates
        7. Creating the news item details page
        8. Creating the news item add page
        9. Implementing news item selection
        10. Implementing news item delete
        11. Implementing news item update using SDO
        12. Implementing news item update using DAO
        13. Applying the template to the news application
        14. Running the JSF application
        15. Securing news update for administrators
      11. JSF and SDO control files
        1. JSF control files
        2. SDO control files
      12. SDO API
        1. SDO calls generated into the page code class
        2. SDO API of the data object
    3. Chapter 8: Service Data Objects
      1. SDO technology
      2. SDO architecture
        1. Data mediator services
        2. Data object
        3. Data graph
        4. Change summary
        5. Properties, types and sequences
      3. SDO requirements
      4. SDO versus other technologies
        1. SDO and WebSphere Data Objects
        2. SDO and JDO
        3. SDO and EMF
        4. SDO and JAXB
      5. SDO example (1/3)
      6. SDO example (2/3)
      7. SDO example (3/3)
        1. Examining the generated SDO code
        2. Implementing SDO-based data access
    4. Chapter 9: Enterprise JavaBeans
      1. Why use Enterprise JavaBeans?
      2. The EJB architecture
        1. EJB server
        2. EJB container
        3. EJB components
        4. Using stateless session EJBs
        5. Create a database connection
        6. Entity beans
    5. Chapter 10: Java Message Service
      1. Messaging concepts (1/2)
      2. Messaging concepts (2/2)
        1. Loose coupling
        2. Messaging types
        3. Destinations
        4. Messaging models
        5. Messaging patterns
      3. Java Message Service API (1/3)
      4. Java Message Service API (2/3)
      5. Java Message Service API (3/3)
        1. JMS API history
        2. JMS providers
        3. JMS domains
        4. JMS administered objects
        5. JMS and JNDI
        6. JMS connections
        7. JMS sessions
        8. JMS messages
        9. JMS message producers
        10. JMS message consumers
        11. JMS exception handling
        12. Application Server facilities
        13. JMS and J2EE
      6. Messaging in the J2EE Connector Architecture (1/3)
      7. Messaging in the J2EE Connector Architecture (2/3)
      8. Messaging in the J2EE Connector Architecture (3/3)
        1. Message endpoints
        2. MessageEndpointFactory
        3. Resource adapters
        4. JMS ActivationSpec JavaBean
        5. Message endpoint deployment
        6. Message endpoint activation
        7. Message delivery
        8. Administered objects
      9. Message Driven Beans (1/3)
      10. Message Driven Beans (2/3)
      11. Message Driven Beans (3/3)
        1. Message Driven Bean types
        2. Client view of a Message Driven Bean
        3. Message Driven Bean implementation
        4. Message Driven Bean life cycle
        5. Message Driven Beans and transactions
        6. Message Driven Bean activation configuration properties
        7. Associating a Message Driven Bean with a destination
        8. Message Driven Bean best practices
      12. Service integration bus
      13. Setup JMS the environment (1/4)
      14. Setup JMS the environment (2/4)
      15. Setup JMS the environment (3/4)
      16. Setup JMS the environment (4/4)
        1. Set up the SIB
        2. Setup the default messaging
        3. Data stores
        4. Databases, user names and schema names
        5. Security
      17. JMS in the Sal404 application
        1. Sending a message
        2. Receiving a message
      18. Implementation details (1/3)
      19. Implementation details (2/3)
      20. Implementation details (3/3)
        1. Sending a message
        2. Receiving a message
      21. References and resources
    6. Chapter 11: Struts
      1. Struts overview
      2. MVC design pattern
      3. Model-view-controller (MVC) pattern with Struts
      4. Rational Application Developer support for Struts
      5. Why we use Struts
      6. Struts validator framework
      7. Struts validation sample
        1. Using the Validator in forms and JSPs
      8. Templating and Struts (1/2)
      9. Templating and Struts (2/2)
        1. Using templates
      10. Struts modules
    7. Chapter 12: Web services
      1. Web services overview (1/2)
      2. Web services overview (2/2)
        1. Service-oriented architecture (SOA)
        2. Web services as an SOA implementation
        3. Properties of Web services
        4. Related Web services standards
      3. Web services tools
        1. Creating a Web Service from existing resources
        2. Creating a skeleton Web service
        3. Client development
        4. Testing tools for Web services
      4. Extend the sample application using Web services (1/9)
      5. Extend the sample application using Web services (2/9)
      6. Extend the sample application using Web services (3/9)
      7. Extend the sample application using Web services (4/9)
      8. Extend the sample application using Web services (5/9)
      9. Extend the sample application using Web services (6/9)
      10. Extend the sample application using Web services (7/9)
      11. Extend the sample application using Web services (8/9)
      12. Extend the sample application using Web services (9/9)
        1. Implementing the property search Web service
        2. Implementing News Web services
    8. Chapter 13: Database design
      1. Database features
      2. The Sal301 data model
      3. The new data model
    9. Chapter 14: Code standards and quality
      1. Coding guidelines
      2. Common rules
        1. Setup basic code templates for Java
        2. CVS keyword substitution settings
      3. Structure (1/2)
      4. Structure (2/2)
        1. How to organize your projects
        2. JAR file placement
        3. Naming conventions
        4. Using CVS
    10. Chapter 15: Bidding component
      1. Bidding component specification
      2. Building the bidding component
        1. Preparing the workspace
        2. Changing the PropertyCatalog component
        3. Presentation layer
        4. Controller layer
        5. Business facade layer
        6. Domain layer
        7. Data access layer
        8. Putting everything together
        9. Testing the bidding component
    11. Appendix A: Additional material
      1. Locating the Web material
      2. Using the Web material
        1. System requirements for downloading the Web material
        2. How to use the Web material
    12. Abbreviations and acronyms
    13. Related publications
      1. IBM Redbooks
      2. Other publications
      3. Online resources
      4. How to get IBM Redbooks
      5. Help from IBM
    14. Index (1/3)
    15. Index (2/3)
    16. Index (3/3)
    17. Back cover

Product information

  • Title: WebSphere Application Server - Express V6 Developers Guide and Development Examples
  • Author(s): William Moore, Doug Grove, Mara Zandina Hernandez, Ansgar Hugo, Arinze Izuora, Steve Moga
  • Release date: October 2005
  • Publisher(s): IBM Redbooks
  • ISBN: None