Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modular Java: ESB

 
Tomasz Prus
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some experience with Mule ESB, i would like to know if OSGi can be usefull for such purposes? What are differences beetween ESB systems and OSGi?
 
Craig Walls
author
Ranch Hand
Posts: 363
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomasz Prus wrote:I have some experience with Mule ESB, i would like to know if OSGi can be usefull for such purposes? What are differences beetween ESB systems and OSGi?


ESBs (especially the flavor of ESB like Mule) is really more about integrating various systems in an enterprise in a loosely-coupled way. An example scenario might be that when an order arrives in a queue, a series of other events kick off to process that order in other systems.

OSGi is more about taking discrete components of an application and breaking them into their own individual deployment units. But unlike a typical ESB scenario, these components are deployed in the same VM.

In that regard, OSGi can be thought of as solving the same kinds of problems that Spring solves, only at a more coarse-grained level.

That said, ESBs and OSGi aren't mutually exclusive. Take ServiceMix, for instance, which bases its ESB on the ServiceMix Kernel (which is, in fact, an OSGi framework).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic