> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] 
> On 4/12/07, Kevin Gutch <[EMAIL PROTECTED]> wrote:
> > Do unnecessary jar files affect performance of an application?
> 
> Only if the classes in the JAR files are called, but then that
> wouldn't make the JAR file unnecessary :-) .

There are a couple of other minor effects:

- More jars mean more files to scan every 10 seconds if Tomcat is
configured to check for changed files and reload the webapp
automatically;

- Class loading typically requires examining more files to load the same
number of classes.

Both are typically minor - the number of extra jars is generally small
compared to the total number of files in the application, and class
loading tends to happen at or near webapp startup.  So you'll get
slightly slower startup, but little observable effect once loaded.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to