Communicating through the JBI Bridge from BPEL to a JCD

One of the features of JavaCAPS 6 is the ability to communicate between the new JBI-based applications and the Repository-based projects of the JavaCAPS 5.x technology. This allows reuse of existing projects and the ability to make use of the 5.x architecture while it continues to provide functionality that is not yet available in the new technology.

This example shows how to communicate from the JBI-compliant BPEL 2.0 engine of OpenESB and JavaCAPS to a repository-based JCD. Though the principle is the same for communicating from any JBI-compliant composite application to a JCD.

The starting point for this example is the OpenESB introduction tutorial. This example also assumes that you are familiar with the JBI-based technology of OpenESB and the repository-based projects of JavaCAPS. If you are not yet familiar with the JBI-based technology, you should definitely start with the aforementioned tutorial.

The first step in the tutorial creates a simple BPEL process, which is exposed using a SOAP Binding Component Service Unit, and then deployed in a Composite Application (a Service Assembly in JBI speak).

The second step shows how to invoke an EJB Service from that BPEL process. But what if you wanted to implement that functionality in a JCD? You might do this for 2 reasons:

  1. You already have the functionality implemented in a JCD and you want to reuse it
  2. That step may consist of considerable mapping logic and it will be easier to implement it using the graphical mapper of JCD collaborations rather than writing the java manually.

The following movie shows how to:

  1. create a JCD using XSD OTDs
  2. build it in a repository-based project
  3. include that project as a Service Unit in a JBI Service Assembly (Composite Application)
  4. test the process and jcd

Demo movie

 (This item is also located on the Grok JavaCAPS wiki)

Comments:

aaa

Posted by guest on January 05, 2009 at 10:15 AM CET #

Hi Jason,
Your blog has helped me with lot of information. First of all thanks for that.

In this blog, the example shows that the JCD was created as a webservice, and JBI External system was used in the connectivity map for trigrering the method.

Here are the scenario that i'm facing with my client. They have Repository based projects developed using JCAPS 5.1.3, and they wanted to move the project to JBI based project.

My questions are
1) Is there any way i can move the repository based project to a JBI based project?
2) Can i use JBI Bridge to make use of the repository based project on the new JBI based project?

I think i would have lot more question after your clarification.

Thanks in advance
Yuvaraj

Posted by Yuvaraj on April 14, 2009 at 08:12 AM CEST #

Hi,
Good to hear you got something useful.
There is no way to move a repository based project to JBI.
However, there are many ways to integrate repository and jbi technology components. E.g., jbi bridge, OTD-links, and JCA Adaptors.

OTD links allow you to use existing OTDs in regular EJBs.
JCA adaptors are eWays that can be used from regular EJBs.

Its difficult to provide anything more specific without knowing what you are trying to do.
Jason

Posted by Jason Baragry on April 23, 2009 at 08:21 AM CEST #

Post a Comment:
Comments are closed for this entry.
About

jason

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today