Hi Stefan,
stlecho wrote:
Paul, Ruwan,

Thanks for the supplied information and answers to my questions.

I will try to describe a scenario and the way I understand the usage of ESB
and WSAS. Please feel free to correct and/or comment.
Sure.
-Our application needs to contact webservices that are put at disposal by
our partners. For this, I could use ESB and define a proxy that connects to
the external webservice and handles transparantly the HTTPs connection and
WS-Security related aspects. I've been doing some prototyping and this
works.
Exactly, this is a well known deployment model for ESB and you are absolutely correct on this.
-Our partners need to contact webservices that we put at disposal. For this,
I could use WSAS - or ESB that routes to WSAS ? - to host these webservices.
You should select the best approach by evaluating your deployment architecture. In most of the cases WSAS is fronted by ESB to provide load balance, fail over, and many more QoS features including routing and so on, to achieve High Availability and Scalability when you are on a production environment. You may have a look at the following case studies for more information on the deployment models.

http://wso2.org/library/3324
http://wso2.org/library/3325
In our current implementation, the Axis2-based webservices server drops the
received SOAP Payload in a Queue with a Message Driven Bean that calls the
appropriate Business Service to process and persist the SOAP Payload. For this, I could connect WSAS to ESB (or vice versa ?) that will host a Queue and route the SOAP message to a Service "published" on the ESB.
I must say that, ESB is not the hosting environment but it is WSAS. In here if you are referring to a JMS Queue by the word queue then you need to use a JMS broker in association with the ESB, if that is not the case, can you please elaborate more on the requirement.
In our
case, the Business Service is based on Spring and that's where it's getting
confusing for me. How do I publish this Spring-based Business Service to the
ESB (with the aid of WSAS?) ?
ESB has a Spring mediator where you can host the Spring beans, but I am not sure whether this will fit into your requirement or not. I think you need to evaluate this in detail and see. At the same time WSAS has capabilities of hosting spring services, again it is your call, we just can help you through the deployment. In general it should be WSAS and you may front them via ESB.

Hope this helps,
Thanks,
Ruwan
Regards, Stefan.

Paul Fremantle-2 wrote:
Stefan

Great questions.

I have some difficulties in comparing WSAS & ESB:
-could/should they be used together ?
Yes. We have a lot of customers using both - especially the combination of Data Services and ESB.

-is the one a kind of "superset" of the other one, i.e. is WSAS using ESB
or
vice-versa ?
Not really. Both are using Axis2, Axiom, Rampart, and other shared components. There are some ways that we allow you to use them together in the same JVM (for example it is possible to use Synapse as a module inside WSAS) and we are looking at expanding those ways... keep your eyes out later in the year!

-in which cases should I use WSAS and in which cases ESB ?
Use WSAS for hosting services, ESB for mediating, transforming, routing. That is a simple example, but if you can give a clearer view of your requirements we can help more. For example, if you gave a scenario, we could split it into ESB and WSAS.

Regards
Paul
--
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user





_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to