I have just spent reading OSGI content in the last two days, so that I can get my hand and in the end I think That's got my head around it.
Now I am trying to integrate it with an existing application for a variety of reasons, such as 3rd party plugins, automatic updates, do not mention that SOA makes me happy. / P>
Now I have a decision that I am struggling to make, which is the weather
- My entire app should be the default OSGI bundle installed in the container ; Or
- My application should launch an embedded OSGI container and for all plug-in services it should be interacted with.
I like 1, because it allows me to update the application easily and the architecture will be consistent, of course, I hope that the application has to be re-implemented in many small bundles . Although 2 makes things very easy in the short run, but it will be weird in the future.
for option 1) You do not really want to have your whole application in a bundle - You will lose all the benefits - but in reality it depends on the size of your application.
It really depends on where you want to run, besides the application and what you want to do, you may want to use some of the exposed services.
Comments
Post a Comment