Introduction
This is the final in our series of six tutorials describing the creation of a Java Persistence API V2.0 (JPA) service that will be consumed by WebSphere Process Server V7 (hereafter called Process Server). The JPA capability is provided via the OSGi and Java Persistence API V2.0 Feature Pack for WebSphere Application Server.
The series uses a simple order processing use case and builds the solution using the different aspects of WebSphere Integration Developer V7 (hereafter called Integration Developer).
This tutorial assumes a basic knowledge of the Integration Developer environment.
The previous tutorials in this series have shown how to:
- Define the physical data model.
- Generate the JPA entities from the data model.
- Created an EJB V3.0 stateless session bean to wrap the JPA data access entities.
- Build an SCA client to consume the EJB service.
- Define and deploy a simple business process that contains an “Approve Order” human task.
In this final tutorial, you will update the user interface (UI) to augment the data provided in the human task interface with additional business information. This allows the user to make an informed decision on whether to approve or reject the order.
In this tutorial, you will:
- Define the Task Information widget layout.
- Add a JavaScript Class.
- Invoke the REST data services.
- Test the UI.
A project interchange file, tutorial_6_PI.zip, contains a completed implementation of this tutorial that you can download.
You need to have a basic understanding of Web 2.0 technology, preferably having performed some development using WebSphere Integration Developer.
This tutorial also assumes that you have completed the previous tutorials in this series:
- Part 1: Generating the data model
- Part 2: Generating the JPA entities
- Part 3: Creating a stateless session EJB
- Part 4: Creating an SCA client
- Part 5: Creating a BPEL process
To follow the examples in this tutorial, you will need:
- WebSphere Integration Developer V7.0.0.2 or later
- WebSphere Process Server V7.0.0.2 or later
- WebSphere Application Server V7.0.0.9 or later
- WebSphere Process Server environment augmented with the WebSphere Application Server Feature Pack for OSGi Applications and Java Persistence API 2.0
Note that the OSGi and JPA 2.0 Feature Pack requires WebSphere Application Server V7.0.0.9 or later.


