File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes which jars in common/lib ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "which jars in common/lib ?" Watch "which jars in common/lib ?" New topic

which jars in common/lib ?

Clifford Adams
Ranch Hand

Joined: May 12, 2004
Posts: 50
we are doing web apps using struts/hibernate/jstl/displaytag/etc

which jar files does it make sense to consolidate into common/lib? all? none?

Clifford Adams
Ranch Hand

Joined: May 12, 2004
Posts: 50
yet another unanswered thread.

is the question too vague? too stupid? too hard?
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
It depends on your setup and what you are trying to accomplish. Personally I try to avoid putting anything into the common/lib of tomcat. I put all the jars required for an app in it's own lib directory. Yes I have a lot of duplication of jar files, but I can jump from version to version on an app specific basis. In my case space isn't an issue and I don't have to worry about breaking something by upgrading an app to a new version of a jar.
I agree. Here's the link:
subject: which jars in common/lib ?
jQuery in Action, 3rd edition