Mar 8th, 2010, 01:55 PM
Basic dm Server question
I've been reading about dm Server/OSGi. But there is this question that I just can find a simple a answer: What's the difference between Library and Bundle? Why one should use Import-Bundle instead of Import-Library and vice-versa?
Mar 9th, 2010, 01:32 AM
A library is a collection of bundles so instead of importing 15 spring bundles you can import 1 spring library giving you all the 15 bundles.
Mar 9th, 2010, 07:09 AM
Thanks for your reply. I get it, very simple... But then, what would be the downside if importing all the 15 bundles instead of using a more fine-grained control?
Mar 9th, 2010, 07:18 AM
Its easier to forget a depend bundle, your manifest gets cluttered especially when using a lot of dependend bundles.
Mar 9th, 2010, 08:22 AM
Thanks for your support.