On 6/7/07, rhodebump <[EMAIL PROTECTED]> wrote:

I have 5 war files, each containing the springframework, hibernate jars,
tapestry jars, lots of jars so that each war file is 30 megs.

I wonder, from a performance/memory perspective would it be better to move
these common library jars into the /tomcat/common/lib directory,

Are the 5 projects tightly related? If they are then it would be a
good idea to keep all JAR files in a common location.

The JAR files don't have to be /tomcat/common/lib , they can be
anywhere else -- as long as your ant build script has the path of the
dependency JAR files.

I would keep all dependency JAR files in any common folder outside Tomcat.

or should I
keep them in their individual war file structures?

If the projects are not closely related and each of them evolve in
their own direction then keeping the JAR files in individual WARs
would be beneficial in terms of ease of maintainence.

I understand how moving the stuff into /common/lib means everything uses the
save version, but what is best for performance?

Thanks!


I don't think the performance (speed of applications) would change,
depending on which option you choose. I haven't tested this though, so
can't tell for sure.

The 2nd option requires more disk space of course.

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to