Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

developerWorks Community:

  • Close [x]

Using the Java Persistence API 2.0 services with WebSphere Process Server V7, Part 4: Creating an SCA client

Marvin W. Malcolm (marvin.malcolm@au1.ibm.com), Consulting IT Specialist, IBM
Photo of Marvin W. Malcolm
Marvin Malcolm started his IT career in 1989 developing airline reservation systems in IBM 370 assembler. Three years later, he was integrating the airline reservation system with the various global distribution systems and has been integrating systems ever since. Joining IBM in 2004, he has worked as a WebSphere Business Process Management and Integration consultant, helping clients get maximum value from the IBM WebSphere product stack. He has worked with WebSphere Process Server since it was launched in 2005 and now, as part of the Australia Lab Services Development team, he provides training, enablement, and first of a kind implementations.

Summary:  Part 4 of this 6-part series shows how to use the enterprise integration service wizard to introspect the EJB definition and to automatically generate the service data objects and SCA definitions to integrate the SCA and JEE programming technologies. Along the way, you will investigate the recursive nature of JPA relationships, and how this can impact SCA clients.

View more content in this series

Date:  08 Dec 2010
Level:  Intermediate PDF:  A4 and Letter (1341 KB | 33 pages)Get Adobe® Reader®

Activity:  16189 views
Comments:  

Introduction

This is the fourth 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.

This tutorial assumes a basic knowledge of the WebSphere Integration Developer environment.

Quick recap

The previous tutorials in this series have shown how to:

  • Define the physical data model.
  • Generate the JPA entities from the data model.
  • Create an EJB v3.0 stateless session bean to wrap the JPA data access entities.

In this tutorial, you will create an SCA client that consumes the EJB service and exposes it as a service to other applications.


Objectives

In this tutorial, you will:

The tutorial series consists of:

A project interchange file, tutorial_4_PI.zip, contains a completed implementation of this tutorial that you can download.


Prerequisites

You need to have a basic understanding of Java, JEE, and WebSphere Process Server SCA programming concepts, ideally having performed some development using WebSphere Integration Developer.

This tutorial also assumes that you have completed the previous tutorials in this series:


System requirements

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
  • Your 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.


Duration

This tutorial takes approximately one hour to complete.

1 of 11 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=594279
TutorialTitle=Using the Java Persistence API 2.0 services with WebSphere Process Server V7, Part 4: Creating an SCA client
publish-date=12082010
author1-email=marvin.malcolm@au1.ibm.com
author1-email-cc=dwu@us.ibm.com