Patterns: Building Serial and Parallel Processes for IBM WebSphere Process Server V6

Book description

IBM WebSphere Process Server, and the accompanying IBM WebSphere Integration Developer development tool, provide a vast array of powerful features for building business process solutions. But how can you use those features for your organization? This IBM Redbooks publication takes a scenario-based approach to demonstrate these product features and employs the IBM Patterns for e-business to illustrate proven business process patterns.

Part 1 of this book introduces the Patterns for e-business. The Patterns for e-business are a group of proven, reusable assets that can be used to increase the speed of developing and deploying On Demand Business applications. This book focuses on the Serial and Parallel Process patterns from the asset catalog.

Part 2 describes the business scenario used in this book. It also explains the key technologies that are relevant to the scenarios.

Part 3 guides you through the building of business process solutions in WebSphere Integration Developer for deployment to WebSphere Process Server. It includes the use of Web Services Business Process Execution Language (WS-BPEL) business processes, business state machines, and other product features. Four solutions are described, each adhering to a separate pattern. Each solution includes architectural considerations for designing the solution and step-by-step instructions for building the scenario.

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: Patterns for e-business and business processes
  4. Chapter 1: Welcome to this redbook
    1. 1.1: An introduction to this document
    2. 1.2: Patterns for e-business SOA series of redbooks
    3. 1.3: How to read this redbook
  5. Chapter 2: Introduction to the Patterns for e-business
    1. 2.1: The Patterns for e-business layered asset model
    2. 2.2: How to use the Patterns for e-business
      1. Selecting a Business, Integration, or Composite pattern, or a Custom design
      2. Selecting Application patterns
      3. Reviewing Runtime patterns
      4. Reviewing product mappings
      5. Reviewing guidelines and related links
    3. 2.3: Patterns for e-business naming conventions
    4. 2.4: Summary
  6. Chapter 3: Introduction to business processes
    1. 3.1: Overview of business process management
    2. 3.2: Overview of SOA
      1. Definition of a service
      2. Web services and SOA
      3. The advantages of SOA
      4. SOA summary
    3. 3.3: WS-BPEL V2.0 standard
      1. Partners
      2. Endpoint references
      3. Activities
      4. Data handling
      5. Correlation
      6. Scope
    4. 3.4: Service Component Architecture
      1. Anatomy of SCA
  7. Chapter 4: Application Integration and Extended Enterprise patterns
    1. 4.1: Application Integration pattern
      1. Process-focused Application Integration patterns
      2. Serial Process application pattern
      3. Parallel Process pattern
      4. Serial Workflow variation
      5. Parallel Workflow variation
    2. 4.2: Extended Enterprise pattern
      1. Extended Enterprise application patterns
      2. Exposed Serial Process application pattern
      3. Exposed Serial Workflow pattern
  8. Chapter 5: Runtime patterns
    1. 5.1: Application Integration runtime patterns
      1. Node types
      2. Serial Process pattern
      3. Serial Workflow variation
      4. Parallel Process pattern
      5. Parallel Workflow variation
    2. 5.2: Extended Enterprise runtime patterns
      1. Exposed Serial Process pattern
      2. Exposed Serial Workflow pattern
  9. Chapter 6: Product descriptions
    1. 6.1: Runtime products
      1. IBM WebSphere Process Server V6.0
      2. IBM DB2 Universal Database Enterprise Server Edition V8.2
      3. IBM Cloudscape
      4. IBM WebSphere Adapter for JDBC V6.0
      5. IBM WebSphere MQ V5.3
    2. 6.2: Development products
      1. IBM WebSphere Integration Developer V6.0
  10. Chapter 7: Product mappings
    1. 7.1: Application Integration product mappings
      1. Serial Process product mapping
      2. Parallel Process product mapping
      3. Parallel Workflow product mapping
    2. 7.2: Extended Enterprise product mappings
      1. Exposed Serial Process product mapping
  11. Part 2: Business scenario and guidelines
  12. Chapter 8: Business scenarios used in this book
    1. 8.1: Customer overview
      1. Business profile
      2. Existing environment
      3. Non-functional requirements
    2. 8.2: Scenario overview
      1. Scenario 1: Internal ordering on demand
      2. Scenario 2: Internal ordering on demand in parallel
      3. Scenario 3: Ordering on demand with multiple wholesalers
      4. Scenario 4: Ordering on demand with approval workflow
  13. Chapter 9: Technology descriptions
    1. 9.1: Service Component Architecture
    2. 9.2: Service Data Objects
    3. 9.3: J2EE Connector Architecture
    4. 9.4: Web services
      1. XML Schema Definition
      2. Web Services Description Language
      3. SOAP
      4. Universal Description, Discovery, IntegrationI
      5. Web Services Business Process Execution Language
      6. WS-Security
    5. 9.5: J2EE
      1. Java Message Service
      2. Web services for J2EE
      3. Java API for XML-based RPC
    6. 9.6: Transport protocols
      1. HTTP
      2. HTTPS
  14. Part 3: Scenario implementation
  15. Chapter 10: Serial Process scenario
    1. 10.1: Business scenario
    2. 10.2: Design guidelines
      1. Vocabulary
      2. Analysis of the business requirements
      3. Pattern selection
      4. Analysis of the design options
    3. 10.3: Development options
    4. 10.4: Development guidelines
      1. Development plan
      2. Setting up the workspace
      3. Creating the business logic for ITSO Electronics (1/9)
      4. Creating the business logic for ITSO Electronics (2/9)
      5. Creating the business logic for ITSO Electronics (3/9)
      6. Creating the business logic for ITSO Electronics (4/9)
      7. Creating the business logic for ITSO Electronics (5/9)
      8. Creating the business logic for ITSO Electronics (6/9)
      9. Creating the business logic for ITSO Electronics (7/9)
      10. Creating the business logic for ITSO Electronics (8/9)
      11. Creating the business logic for ITSO Electronics (9/9)
      12. Creating supporting services for the business process (1/3)
      13. Creating supporting services for the business process (2/3)
      14. Creating supporting services for the business process (3/3)
    5. 10.5: Runtime guidelines (1/2)
    6. 10.5: Runtime guidelines (2/2)
  16. Chapter 11: Exposed Serial Process scenario
    1. 11.1: Business scenario
    2. 11.2: Design guidelines
      1. Analysis of the business requirements
      2. Pattern selection
      3. Analysis of the design options (1/2)
      4. Analysis of the design options (2/2)
    3. 11.3: Development guidelines
      1. Development plan
      2. Setting up the workspace
      3. Creating the business state machine (1/6)
      4. Creating the business state machine (2/6)
      5. Creating the business state machine (3/6)
      6. Creating the business state machine (4/6)
      7. Creating the business state machine (5/6)
      8. Creating the business state machine (6/6)
      9. Creating the business rule BSMChooseWh
      10. Creating the ITSOElectronics assembly diagram
      11. Creating the Wholesaler service providers (1/3)
      12. Creating the Wholesaler service providers (2/3)
      13. Creating the Wholesaler service providers (3/3)
      14. Linking WholesalerD and WholesalerE to the state machine
      15. Creating the Exposed Serial business process (1/2)
      16. Creating the Exposed Serial business process (2/2)
      17. Linking the business process in the assembly diagram
      18. Adding the ITSO_CheckDate business rule
      19. Exposing the business process as a Web service
    4. 11.4: Runtime guidelines
      1. Configuring an HTTP server for SSL pass-through
      2. Using WS-Security
      3. Testing the application (1/3)
      4. Testing the application (2/3)
      5. Testing the application (3/3)
  17. Chapter 12: Parallel Process scenario
    1. 12.1: Business scenario
    2. 12.2: Design guidelines
      1. Analysis of the business requirements
      2. Pattern selection
      3. Analysis of the design options (1/3)
      4. Analysis of the design options (2/3)
      5. Analysis of the design options (3/3)
    3. 12.3: Development guidelines
      1. Setting up the workspace
      2. Creating the Parallel Process module
      3. Constructing a solution in the Assembly Editor (1/2)
      4. Constructing a solution in the Assembly Editor (2/2)
      5. Creating the component implementations (1/4)
      6. Creating the component implementations (2/4)
      7. Creating the component implementations (3/4)
      8. Creating the component implementations (4/4)
      9. Configuring the JDBC adapter with the business process (1/3)
      10. Configuring the JDBC adapter with the business process (2/3)
      11. Configuring the JDBC adapter with the business process (3/3)
    4. 12.4: Runtime guidelines
      1. Configuring DB2 as Business Process Choreography database
      2. Configuring the WebSphere Adapter for JDBC
      3. Testing the application
  18. Chapter 13: Parallel Workflow scenario
    1. 13.1: Business scenario
    2. 13.2: Design guidelines
      1. Analysis of the business requirements
      2. Pattern selection
      3. Analysis of the design options
    3. 13.3: Development guidelines
      1. Setting up the workspace
      2. Creating the business objects
      3. Creating the interfaces
      4. Building the PlaceOrderProcess Parallel Workflow process (1/12)
      5. Building the PlaceOrderProcess Parallel Workflow process (2/12)
      6. Building the PlaceOrderProcess Parallel Workflow process (3/12)
      7. Building the PlaceOrderProcess Parallel Workflow process (4/12)
      8. Building the PlaceOrderProcess Parallel Workflow process (5/12)
      9. Building the PlaceOrderProcess Parallel Workflow process (6/12)
      10. Building the PlaceOrderProcess Parallel Workflow process (7/12)
      11. Building the PlaceOrderProcess Parallel Workflow process (8/12)
      12. Building the PlaceOrderProcess Parallel Workflow process (9/12)
      13. Building the PlaceOrderProcess Parallel Workflow process (10/12)
      14. Building the PlaceOrderProcess Parallel Workflow process (11/12)
      15. Building the PlaceOrderProcess Parallel Workflow process (12/12)
      16. Building the ITSOPModule assembly diagram (1/4)
      17. Building the ITSOPModule assembly diagram (2/4)
      18. Building the ITSOPModule assembly diagram (3/4)
      19. Building the ITSOPModule assembly diagram (4/4)
    4. 13.4: Runtime guidelines
      1. Adding the required modules to the test server
      2. Testing the Parallel Workflow process
      3. Testing the Parallel Workflow compensation and fault handling
      4. Testing the Parallel Workflow event handling
      5. Testing Parallel Workflow ApproveScheduleDate Human Task
  19. Part 4: Appendixes
  20. Appendix A: Building Wholesaler A and B service implementations
    1. Scenario implementation overview
    2. Creating the service implementation for Wholesaler A
      1. Creating business objects for the WhDelReqWeb_I interface (1/2)
      2. Creating business objects for the WhDelReqWeb_I interface (2/2)
      3. Creating the WhDelReqWeb_I interface
      4. Creating the business objects for the remaining interfaces
      5. Creating the remaining interfaces
      6. Creating the business logic (1/5)
      7. Creating the business logic (2/5)
      8. Creating the business logic (3/5)
      9. Creating the business logic (4/5)
      10. Creating the business logic (5/5)
      11. Creating the assembly diagram
      12. Examining the generated WSDL files
      13. Testing Wholesaler A
    3. Creating the service implementation for Wholesaler B
      1. Copying the business objects and interfaces from WholesalerA
      2. Creating the business logic using the assembly diagram
  21. Appendix B: Deploying and testing modules
    1. Deployment
      1. Starting run time and deploying modules to the test environment using the Integration Test Client
      2. Adding and removing projects to the server
      3. Installing an EAR file using the administrative console
    2. Testing
      1. The Integration Test Client (1/2)
      2. The Integration Test Client (2/2)
      3. The Business Process Container Explorer
    3. Managing deployed components
      1. The Business Rules Manager
      2. The administrative console for selectors
      3. The Common Base Event Event Browser
      4. The Failed Event Manager
      5. The Relationship Manager
    4. Configuring the server
      1. Security
      2. WebSphere Adapter for JDBC
    5. Debugging
      1. Starting the server in debug mode
      2. Adding breakpoints to components
  22. Appendix C: Relationships and cross-referencing
    1. Relationships: What they do and how they do it
      1. Example usage of relationships
    2. Using relationships
      1. Setting up the workspace
      2. Creating the ITSOItems relationship
      3. Deploying the relationship
      4. Populating the relationship data (1/2)
      5. Populating the relationship data (2/2)
      6. Creating the cross-reference data mapping: Delivery days (1/2)
      7. Creating the cross-reference data mapping: Delivery days (2/2)
      8. Creating the interface map: Delivery days
      9. Creating the cross-reference data mapping: Place order
      10. Creating the interface map: Place order
      11. Modifying the ITSOElectronics assembly diagram
    3. Testing relationships
  23. Appendix D: WebSphere Process Server dynamicity
    1. Scenario implementation overview
      1. Preparing the workspace
    2. Creating the service implementation for Wholesaler C
      1. Creating the Wholesaler C module
      2. Copying the business objects and interfaces from WholesalerA
      3. Creating the business logic using the assembly diagram
    3. Creating the implementation for Wholesaler C mediator
      1. Creating the Wholesaler C mediator module
      2. Copying the Web service exports from WholesalerC
      3. Creating the mediator module using the assembly diagram (1/2)
      4. Creating the mediator module using the assembly diagram (2/2)
    4. Replacing WholesalerA with WholesalerC at run time
      1. Adding the required modules to the test server
      2. Changing the selector targets in the test server admin console
      3. Testing that WholesalerA has been replaced by WholesalerC
      4. Exporting the selector changes to WebSphere Integration Developer
  24. Appendix E: 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
  25. Abbreviations and acronyms
  26. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. How to get IBM Redbooks
    5. Help from IBM
  27. Index (1/3)
  28. Index (2/3)
  29. Index (3/3)
  30. Back cover

Product information

  • Title: Patterns: Building Serial and Parallel Processes for IBM WebSphere Process Server V6
  • Author(s): Martin Keen, Andy Garratt, Ed Grossman, Dennis Stilhoff, Torsten Wilms, Dan Zrobok
  • Release date: April 2006
  • Publisher(s): IBM Redbooks
  • ISBN: None