Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How is OSGi different from SOA?

 
Gurmeet Jabbal
Greenhorn
Posts: 2
Flex Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is OSGi different from SOA?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm ... by everything? Where do you see similarities?
 
Richard S. Hall
author
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
Flex Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Richard.
 
Augusto Sellhorn
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic