Announcement Announcement Module
Collapse
No announcement yet.
Basic dm Server question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment


    • #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

      Comment


      • #4
        Its easier to forget a depend bundle, your manifest gets cluttered especially when using a lot of dependend bundles.

        Comment


        • #5
          Hi,

          Thanks for your support.

          Regards,
          Thiago Souza

          Comment

          Working...
          X