Laxmikanth Samudrala
Laxmikanth Samudrala

Reputation: 2243

what jar's should Web Component WEB-INF LIB should contain in a war file

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 ...)

Upvotes: 0

Views: 268

Answers (2)

saugata
saugata

Reputation: 2863

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

Upvotes: 1

Vincent Ramdhanie
Vincent Ramdhanie

Reputation: 103145

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.

Upvotes: 1

Related Questions