-
Mar 8th, 2010, 01:55 PM
#1
Basic dm Server question
Hello there,
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?
Regards,
Thiago Souza
-
Mar 9th, 2010, 01:32 AM
#2
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
#3
Hi,
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?
Regards,
Thiago Souza
-
Mar 9th, 2010, 07:18 AM
#4
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
#5
Hi,
Thanks for your support.
Regards,
Thiago Souza
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules