Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 56701 invoked from network); 7 Aug 2007 14:14:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 14:14:25 -0000 Received: (qmail 64520 invoked by uid 500); 7 Aug 2007 14:14:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64498 invoked by uid 500); 7 Aug 2007 14:14:12 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64487 invoked by uid 99); 7 Aug 2007 14:14:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 07:14:12 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [63.240.77.84] (HELO sccrmhc14.comcast.net) (63.240.77.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 14:13:58 +0000 Received: from [192.168.1.101] (c-68-50-0-179.hsd1.va.comcast.net[68.50.0.179]) by comcast.net (sccrmhc14) with ESMTP id <20070807141343014001788ne>; Tue, 7 Aug 2007 14:13:43 +0000 Message-ID: <46B87E12.6000103@christopherschultz.net> Date: Tue, 07 Aug 2007 10:13:38 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Best practice application deployement References: <1BCA52CF5845E543B4B81AAFEF2AFD79040A27@LONSEXC01.gta.travel.lcl> In-Reply-To: <1BCA52CF5845E543B4B81AAFEF2AFD79040A27@LONSEXC01.gta.travel.lcl> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerhardus, Gerhardus.Geldenhuis@gta-travel.com wrote: > If the jsp gets compiled once after the war files get deployed then I would > be willing for the server to be a bit less responsive for the 2 minutes or > so that it takes for the application to deploy. The problem is that JSPs are not compiled until they are accessed for the first time. This means that your application will feel sluggish until all popular pages have been hit at least once. Pre-compiling JSPs simply avoids this compile-on-demand step (but, of course, increases deployment time due to the time to pre-compile -- but if deployed correctly, Tomcat's downtime is minimized). > Assuming that you would deploy by copying files, copying one war file for me > is simpler then copying a directory or larger collection of files. If you use a tool like ant, or even a shell script (as you already do), then you don't really have to worry about the complexity of the deployment process: you just type "do it" and it gets done. Yes, it's more complicated to work-out at first, but you may see a performance improvement because of it. I'm never a fan of premature optimization, though. If you're not having any problems, don't change anything. Just keep this in mind for the future, just in case you need it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuH4S9CaO5/Lv0PARAjtVAJ9IrNMPztso0i+wDs7S8zPm8ipnhgCbB07f fZ+7dQwOkiYf1/aVRRqrmB4= =sX9b -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org