Announcement Announcement Module
No announcement yet.
Using regular JARs in web project Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using regular JARs in web project


    I'm using DM Server 2.0.0 release and have a situation where I need to migrate regular WAR project into OSGI WAR project. I have many 3rd parties JARS in that project WEB-INF/lib folder which are not exist in spring repository

    So, the question is what is the better approach to deal with such JARS ?

    Should I convert them manually with BND tool into OSGI bundles or there is an option to leave them as is in WEB-INF/lib folder.


  • #2
    I'd recommend a two stage approach. First of all get the WAR working in dm Server by making minimal or no changes. Then gradually extract the embedded JARs into bundles. This migration process is described in the programmer guide.

    Also, I'd recommend using bundlor to generate manifests as it's what we used to create the manifests in the Enterprise Bundle Repository. The download includes documentation and examples.