Meaningless Drivel is fun!
The moose likes EJB and other Java EE Technologies and the fly likes Choosing ESB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Choosing ESB" Watch "Choosing ESB" New topic

Choosing ESB

Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
Can you please explain two different context or scenarios when we can use Mule and when to use ServiceMix?

SCJP 1.4, SCWCD 1.4
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 471

Well, if you want a JBI compliant container, then Mule is not the choice (even though it provides interoperability with JBI containers). If you want something simple, lightweight and easy to use, then go for Mule.

Visit my blog:
Tijs Rademakers
Ranch Hand

Joined: Jul 29, 2008
Posts: 45
Nice question!
There is always stuff for debate, Ross Mason (Mule founder and project lead) posted an article about his view on JBI on theserverside.
My personal view is that ServiceMix and JBI in general would be a good choice in environments where XML is the predominant message format and you want to go for an open standard based ESB. Having this said, ServiceMix 4 is OSGI based where JBI compliancy is not mandated.
Mule would be my choice in environments where Java is the predominant technology, so you can use POJO messages, and where open standards are much less of an issue.

Best regards,

Tijs Rademakers

Author of Activiti in Action and Open Source ESBs in Action
Jos Dirksen

Joined: Jun 30, 2003
Posts: 15
Another issue which might influence your choice is the deployment model. When using ServiceMix you have hot-deploy for your services, components and flows. You get the 'overhead' and complexity of JBI but you've got a very mature, standarized deployment model.

Mule is a more lightweight ESB, but doesn't support hot deploy (yet).

As Tijs already mentioned the new version of ServiceMix will be OSGi based which should make deployment even easier. That said Mule also has plans to change it's deployment model to OSGi...
Dinuka Arsakularatne
Ranch Hand

Joined: Aug 12, 2006
Posts: 198
I think this esb is much more efficient than those two mentioned because of the following two reasons:

1. It is based on the apache synapse ESB which is very fast and lightweight
2. It has a really user friendly admin UI which allows users to configure the ESB without facing the hassle of configuring xml files manually.

if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing
I agree. Here's the link:
subject: Choosing ESB
It's not a secret anymore!