Hi,

I can list my requirement as follows.

We need to create a platform, which is a webservice implementation. It can
be invoked by any client outside servicemix. The client wants to invoke a
third web service using platform. Also at the same time, it wants to prevent
itself from creating boilerplate webservice client code.
So there are connector classes, which helps in creating the soap message
required for the third party webservices.

The platform work is to delegate call to the correct connector depending
upon which third party webservice need to be invoked by the client.

I developed this using OSGI as follows.
I created an OSGI bundle for platform. The platform webservice is deployed
using CXF.

I created seperate bundles for connectors. The connectors used camel-http
component to create dynamic soap message required for third party
webservice. Here all the calling between platform and connectors is through
java based method invocation.

Now we are seeing, if we can implement this solution using JBI also.

I have some questions.
1) Does JBI support normal java based invoking of methods like OSGI. I want
to keep the platform and connector seperate as the platform will be deployed
only once. But tomorrow if any new webservice we want to talk, then we have
to add a connector bundle for that also without hurting the platform code.

2) How JBI can be better than OSGI in this problem.

I am also attaching a image showing the requirement of the project in terms
of enterprise integration pattern components
http://old.nabble.com/file/p28152691/ExecuteOperation.png
ExecuteOperation.png .

The content based router is the platform which delegates the call to the
correct connector. The session manager keeps the instances of connectors
with it.

With Regards
Harbeer Kadian









-- 
View this message in context: 
http://old.nabble.com/deploying-java-application-using-JBI-in-servicemix-tp28152691p28152691.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to