Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84858 invoked from network); 8 Jun 2005 11:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2005 11:42:12 -0000 Received: (qmail 77028 invoked by uid 500); 8 Jun 2005 11:41:47 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 76983 invoked by uid 500); 8 Jun 2005 11:41:47 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 76969 invoked by uid 99); 8 Jun 2005 11:41:47 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smarty.dreamhost.com (HELO smarty.dreamhost.com) (66.33.216.24) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Jun 2005 04:41:42 -0700 Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57]) by smarty.dreamhost.com (Postfix) with ESMTP id 7B3D213F649 for ; Wed, 8 Jun 2005 04:41:11 -0700 (PDT) Received: by strange.dreamhost.com (Postfix, from userid 7734) id E6D2E6A8D8; Wed, 8 Jun 2005 04:41:09 -0700 (PDT) Date: Wed, 8 Jun 2005 06:41:09 -0500 From: QM To: Tomcat Users List Subject: Re: Jserv to Tomcat migration Message-ID: <20050608114109.GA5946@strange.dreamhost.com> References: <42A6CCFE.8030000@hclcomnet.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42A6CCFE.8030000@hclcomnet.co.in> User-Agent: Mutt/1.3.28i X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wed, Jun 08, 2005 at 04:18:30PM +0530, gaurav wrote: : We thinking migrating some legacy code from Jserv 1.1.2 to : tomcat 5. : I am looking around some practical insightful tips/ guidance on this : matter ...it there is any Jserv to Tomcat migration guide book or any : other documentation which I can refer to or if any one ever faced : some problems then pl share with me :-) The process is the same for migrating between any two servlet containers: 1/ make note of any vendor-specific hooks you use in your current app. Don't expect them to be in the other container. Rewrite your app to work without them. 2/ Review the servlet spec that fits the destination container (v2.4 for Tomcat 5). If it's not the same servlet spec version as your current container, make note of any deprecations (such as SingleThreadModel) or other changes. Code your app to work per the spec. 3/ Note how the new container provides services (such as database pooling). That's about it. =) All jokes aside, the point of the spec is that 100% spec-compliant apps should be able to migrate between spec-compliant containers without much hassle. If you've stuck to the spec this whole time, your migration shouldn't be a problem. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org