Results 1 to 2 of 2

Thread: Using regular JARs in web project

  1. #1
    Join Date
    Mar 2010
    Posts
    28

    Default Using regular JARs in web project

    Hi,

    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 http://www.springsource.com/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.

    Thanks,
    Pavel

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    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.
    Glyn Normington
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •