Wednesday Oct 22, 2008

Fuji Milestone 2 is out!! Check it out at Open ESB Downloads.

Fuji distribution includes a Felix instance, JBI components, some libraries and a cool demo application. It also includes Sun Database Binding, Derby Network Server bundle, Derby client bundle and a JNDI provider bundle.

When you start the Fuji instance, the derby server bundle starts up an instance of Derby Network Server in the port 1600. Thanks to SpringSource maven repository, a client bundle is also made readily available in the distribution. Simple JNDI is used to provide the JNDI solution.

Some pointers...

1)Create a table in Derby.

Refer to M2 demo instructions for details.

2)Edit JNDI configuration.

The configuration file for JNDI is in fuji/jndi/<resource-name>.properties. For more details on this config file see these instructions.

3)Edit message definition in database binding.

Provide the schema corresponding to your table in message.xsd. In interface.wsdl, replace msg:record with the actual element name.

Friday Apr 04, 2008

Here is some news to cheer up!!!
With some fixes that went in recently, bpelengine rocks in WebSphere.

Get some action!

1.Download required JBI Components

sun-bpel-engine
sun-file-binding
sun-sharedutil-library
sun-encoder-library

To learn more about these components, visit open-jbi-components

2.Get the Composite Application
Download the sample that Keith created to demo OpenESB in Java SE.
For more info about OpenESB in Java SE read Keith's blog

3. See them all work together
Install the components, deploy the composite application and start it.
Please refer to command listing below.

Create /temp/input.txt and see the contents get processed and appear in output.txt.
Yep! Very easy! Enjoy!!


Commands:
ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.install.file=sharedutillib.jar install-shared-library

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.install.file=bpelserviceengine.jar install-component

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.component.name=sun-bpel-engine start-component

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.install.file=encoderlib.jar install-shared-library

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.install.file=filebc.jar install-component

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.component.name=sun-file-binding start-component

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.deploy.file=CompositeApp1.zip deploy-service-assembly

ant -f jbi_admin.xml -Djbi.port=2809 -Djbi.service.assembly.name=CompositeApp1 start-service-assembly
P.S: For classpath details please refer to the previous posting.

Monday Aug 13, 2007

Yes! Open ESB runs in WebSphere.

A servlet wrapped implementation of Open ESB has been developed as a proof of concept.

Instructions to run Open ESB in WebSphere 6.0

1)Download the war and deploy it following the default settings.

2)Now say, No Thanks!, to some of the attributes added to MBean names by WebSphere, by creating a custom property.

(i)Navigate to Servers > Application Servers > Server1(Server Infrastructure) >
Administration > Administration Services > Custom Properties.

(ii)Click New and supply the following values for name and value fields respectively
com.ibm.websphere.mbeans.disableRouting
<on>com.sun.jbi:*</on><on>com.sun.jbi.esb:*</on>

3)Start the application. Click on Enterprise Applications, select openesb-websphere-1_1_war and start it.

Instructions to administer Open ESB and run the demo

1)Download the client jar and unjar in <CLIENT_HOME>.

2)Configure the environment as follows and make sure ant is in your PATH.

set JAVA_HOME=<WAS_HOME>/AppServer/java

set CLASSPATH=<WAS_HOME>/AppServer/runtimes/com.ibm.ws.admin.client_6.1.0.
jar;<CLIENT_HOME>/jbi-admin-common.jar;<CLIENT_HOME>/jbi-ant-tasks.jar

3)Run the demo application. Note: For demo purposes, I am using the following experimental components: SunFileBinding and SunTransformationEngine. These two components are attached to this blog. You can find sources for these two experimental components in File Binding Source and Transformation Engine Source.
Fully functional Open ESB components can be downloaded here.

(i)Download sun-wsdl-library, SunFileBinding, SunTransformationEngine,
FileTransformApp, sample_input.xml.

(ii)ant -f <CLIENT_HOME>/jbi_admin.xml -Djbi.port=2809
-Djbi.host=<hostname> -Djbi.username=<username>
-Djbi.password=<password> -Djbi.install.file=wsdlsl.jar
install-shared-library

(iii)ant -f <CLIENT_HOME>/jbi_admin.xml -Djbi.port=2809
-Djbi.host=<hostname> -Djbi.username=<username>
-Djbi.password=<password> -Djbi.install.file=file-binding.jar
install-component

(iv)ant -f <CLIENT_HOME>/jbi_admin.xml -Djbi.port=2809
-Djbi.host=<hostname> -Djbi.username=<username>
-Djbi.password=<password> -Djbi.install.file=transformation-engine.jar
install-component

(v)ant -f <CLIENT_HOME>/jbi_admin.xml -Djbi.port=2809
-Djbi.host=<hostname> -Djbi.username=<username>
-Djbi.password=<password> -Djbi.deploy.file=FileTransformApp.zip
deploy-service-assembly

(vi)ant -f <CLIENT_HOME>/jbi_admin.xml -Djbi.port=2809
-Djbi.host=<hostname> -Djbi.username=<username>
-Djbi.password=<password> -Djbi.service.assembly.name=FileTransformApp
start-service-assembly

(vii)Copy sample_input.xml to c:\tmp\test\input\transforminout and
see it magically transform into a html file and go to c:\tmp\test\output.