File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where do we put the 3rd party libraries

 
Premil Jacob
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where in the directory structure do we put the 3rd party libraries in an enterprise bean.
 
Valentin Tanase
Ranch Hand
Posts: 704
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jacob,

First you need to pack your ejbs and other components as an ear. You also need to add the common library (let�s say its name is commons.jar) to the same ear. Just for simplicity let�s assume that the commons.jar library is in the ear�s root. Then all you need to do is to change the manifest files for all your ejb jars that use this common library, adding a line like this:

Regards.
 
Praveena Venigalla
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Premil:
You need to add the third party libraries to your classpath as external jar files.

If you are using WSAD : do as follows
1.)Right click on your project-->select Properties
2.)Pop-up window opens ---select Java build path on left side.
On right side go to Libraries tab ---->Click on Add External Jars to add the jar file you needed.

You can directly go to your classpath file and edit it by adding the path for Jar files you needed for your project.

Thanks,
Praveena
[ March 17, 2005: Message edited by: Praveena Venigalla ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic