• 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

Can I deploy JPA jars per application ?

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there !

Just one quick question so as not to bore you with extensive text.

Can I deploy the JPA jars as part of one enterprise application ?

I need to know if it's possible so that I can avoid creating a shared library inside the container. The JPA implementation I'm using is EclipseLink.

Thanks in advance.

Jose.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I prefer to do it that way.

Imagine you had 10 applications using JPA 1.0, and they all referenced the same set of JARs. Then, imagine you wanted to update one application. If your rule is that all apps point to the same JARs, you'd have to update all 10 apps at the same time. How much sense does that make?

My personal preference of course.
 
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can, but this can depend on which application server you are using.

Generally a single shared jar is used.
 
reply
    Bookmark Topic Watch Topic
  • New Topic