This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
where in the directory structure do we put the 3rd party libraries in an enterprise bean.
Thanks,<br />Premil<br /> <br />SCJP 1.4
Valentin Tanase
Ranch Hand
Joined: Feb 17, 2005
Posts: 704
posted
0
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.
I think, therefore I exist -- Rene Descartes
Praveena Venigalla
Ranch Hand
Joined: Oct 29, 2003
Posts: 36
posted
0
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.