This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Gurmeet Jabbal wrote:How is OSGi different from SOA?
It really has nothing to do with SOA at all. OSGi is a module system for Java. It promotes a loosely coupled collaboration mechanism between modules, which it calls services. These services are just Java interfaces. Module publish their services in a local service registry where other modules can look them up to use them. In this way, providers and consumers are not coupled to each other, since they don't have to know about each other directly. This is the service-oriented interaction pattern of publish-find-bind, but that's it. There is nothing related to SOA.
I agree, but it seems to be a losing battle trying to explain it that way. Too many people (media included) equate SOA with web services. That is why I typically never use the term SOA, but use service-oriented programming or computing instead.