aspose file tools*
The moose likes Other Application Frameworks and the fly likes Key factors for OSGi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Key factors for OSGi" Watch "Key factors for OSGi" New topic
Author

Key factors for OSGi

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Hi Alexandre,

First of all good luck with your new book, I see some really good topics.

1. What are the key factors to be evaluated when considering OSGi for an application?
2. What are the implementation(s) used for the case study in the book?


Thanks,


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Alexandre Castro Alves
author
Greenhorn

Joined: Aug 22, 2011
Posts: 7
Hi Vijitha,

Thanks for the warm welcome.

Regarding your questions:

| 1) What are the key factors to be evaluated when considering OSGi for an application?

First and foremost, does your application need to be extensible?

For example, do you allow end-users to plugin their own strategies, adapters, etc? Or do you allow third-party vendors to provide their own service implementations by using some form of SPI? Or even simply do you intend on growing your application by providing additional or alternative implementations to your applications services?

Secondly, is your application part of a larger eco-system of services and applications?

For example, consider an application that needs to interact with dozens of other applications, libraries, plugins, infrastructure services, etc. Such an application needs to change often as its dependencies change.

Finally, does your application need to be flexible? Does it need to pick and choose different services as needed?

For example, you may originally decide to use a RDBMS-based persistence service, but then find out you need to move to a distributed cache-based persistence service. You may originally decide not to be transacted, but later move to a transacted system, etc.

In summary, OSGi helps out with these three fundamental albeit subtle application qualities: extensibility, modularity (integration), flexibility.

| 2) What are the implementation(s) used for the case study in the book?

The book uses Apache Felix, however it also highlights any differences should one prefer to use Eclipse Equinox.

Best regards,
Alex


OSGi in Depth
A World of Events
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Thanks, Alexandre
 
 
subject: Key factors for OSGi
 
Similar Threads
osgi slow pickup?
J2EE and OSGi
what are key factors for deciding the technology for the application
OSGi as a Java standard
OSGi fetures