0

is web-inf/lib should contain only application specific jar's or deployment environment specific jar's also as per J2EE standards.

Note : war file is not making use of any deployment environment specific functionality (for instance weblogic or websphere or tomat etc ...)

Laxmikanth Samudrala
  • 2,203
  • 5
  • 28
  • 45
  • Laxmikanth, Do you have a specific example of a conflicting jar which you want advise on? – JoseK Mar 11 '10 at 04:58

2 Answers2

1

The WEB-INF/lib folder should contain your application specific jar files. Jar files that are global to the server will be stored in the server's classpath.

Vincent Ramdhanie
  • 102,349
  • 23
  • 137
  • 192
1

Application specific jars and if you have multiple applications deployed on the same server/JVM then any jars whose classes (class instances) you don't want to share. For more details about my second point: my earlier question about classloaders

Community
  • 1
  • 1
saugata
  • 2,823
  • 1
  • 27
  • 39