Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

query on including utility jars in an ejb-jar

 
Dilshad Marikar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • 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
 
Senthil B Kumar
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!