Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

where do we put the 3rd party libraries

 
Ranch Hand
Posts: 30
  • 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.
 
Ranch Hand
Posts: 704
  • 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.
 
Ranch Hand
Posts: 36
  • 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 ]
 
It's never done THAT before. Explain it to me tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic