This getting started guide shows how to install Jbi4Corba and a sample service assembly in GlassFishESB
environment.
A binding component using Jbi4Corba exposes on the internal BUS an external service provided by a CORBA servant. To locate the servant, the Jbi4Corba component must use an active CORBA name server (or other localization mechanism).
Thus the integration scenario is shown in the following figure:
![]() |
Install the GlassFishESB
(or newer) hat contains the IDE (Netbeans 6.1) and GlassFish with the JBI runtime.
Download the Jbi4Corba
component. Install and start the component using the contextual menu on the server JBI module.
![]() |
A service assembly is a deployable item that configures one or more endpoint inside a JBI ESB. We are going set up a configuration that take a Corba service and expose it a SOAP/HTTP Webservice. The configuration is shown in the following figure:
![]() |
A Service Assembly (SA) is a zip file containing one or more Service Unit (SU) file, each Service Unit defining one or more endpoint. We need three Service Unit (SU):
To create a Jbi4Corba service unit follow The Netbeans Plugin Guide
.
To create a Http service unit follow HTTP Binding Component User's Guide
and Understanding the HTTP Binding Component
.
To create a BPEL service engine follow BPEL Service engine User's Guide
and Developer Guide to BPEL Designer
.
For example the BPEL generated that implement a simple Business procress between a Jbi4corba (SU) and a Http (SU) is:
![]() |
The service assembly is unit of deployable configuration in JBI, in our example it has the following layout:
![]() |
In NetBeans, with the server started, select from "CompositeApp" the "Deploy" option and wait start it.
![]() |
![]() |
Now you can test the service assembly sending a SOAP message to the HTTP endpoind. For the component to work, the Corba servant and the name server should be running when the SOAP message is processed by the Service Assembly.