Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which jars in common/lib ?

 
Clifford Adams
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks
 
Clifford Adams
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yet another unanswered thread.

is the question too vague? too stupid? too hard?
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic