ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  EJB 2 and J2EE Packaging, Part II
Subject:   Where to place commom.jar
Date:   2004-12-07 22:01:16
From:   MrGoldy
Given the discussion in this article, I recommend that, when designing an application that uses JSPs, servlets, and EJBs together, any class that is shared by more than one application be placed into a common.jar file that is specified in the manifest Class-Path: entry of all applications that make use of it. Additionally, add any other support libraries to the appropriate manifest Class-Path: and place any Web application-specific libraries in the WEB-INF\lib. Following this approach, you should have smooth sailing from here on out!


QUESTION:
Where do I place that common.jar file IN EJB.jar or WebApp.war or EAR root?