Two Laptop Bag*
The moose likes Other Application Frameworks and the fly likes How is OSGi different from SOA? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How is OSGi different from SOA?" Watch "How is OSGi different from SOA?" New topic
Author

How is OSGi different from SOA?

Gurmeet Jabbal
Greenhorn

Joined: Jan 21, 2011
Posts: 2

How is OSGi different from SOA?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42931
    
  68
Umm ... by everything? Where do you see similarities?
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
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.
Gurmeet Jabbal
Greenhorn

Joined: Jan 21, 2011
Posts: 2

Thanks Richard.
Augusto Sellhorn
Ranch Hand

Joined: May 24, 2007
Posts: 57
As I mentioned on another thread, I do consider OSGi a type of SOA system, if you don't go with the misconception that SOA is all about Web Services.

I think a lot of OSGi folks see it that way too;
http://www.osgi.org/blog/2007/09/soa-osgi.html
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Augusto Sellhorn wrote:As I mentioned on another thread, I do consider OSGi a type of SOA system, if you don't go with the misconception that SOA is all about Web Services.

I think a lot of OSGi folks see it that way too;
http://www.osgi.org/blog/2007/09/soa-osgi.html


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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How is OSGi different from SOA?