• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic