What is the difference between “Import-Bundle” and “Require-Bundle”?
What is the difference between spring source dm server specific Import-Bundle and OSGi's Require-Bundle ? I am confused whether to use Import-Bundle or Require-Bundle in my project. Import-Bundle is similar to Require-Bundle, it creates a complete dependency on the other bundle, including that bundle's dependencies. This transitivity is bad because you have no idea what you depend, creating the infamous " big ball of mud " problem we're so familiar with in Object oriented programming. In OO, we've found a solution to this entanglement by using interfaces, they separate implementation from