• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

query on including utility jars in an ejb-jar

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Newbie question coming up:

I have built an ejb-jar and would like to include some utility classes in it (eg jars for jaxp and jaxb). Am I right in assuming that this is simply a case of adding whatever jars I need to the ejb-jar at the top-level?


I've read a forum thread on the issue here which covers ear files, but I just want to clarify the situation for just using an ejb-jar. I won't need to do any extra work, such as putting the jars in some particular directory, or modifying the manifest file?

Well, i'll give it a try tomorrow and hopefully it'll work as i think!


Thanks
Dilshad
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can add those jar file names in the manifest.mf file
 
Dilshad Marikar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have confirmed that you do not need to do modify the manifest file when adding jars to an ejb-jar.
 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes you can add the jars in manifest and supply those jars with your EJB jar and put it in the same directory.

Cheers,
Rahul
 
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic