Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 88477 invoked from network); 28 Jul 2000 15:15:59 -0000 Received: from f5.law9.hotmail.com (HELO hotmail.com) (64.4.9.5) by locus.apache.org with SMTP; 28 Jul 2000 15:15:59 -0000 Received: (qmail 51338 invoked by uid 0); 28 Jul 2000 15:15:33 -0000 Message-ID: <20000728151533.51337.qmail@hotmail.com> Received: from 32.97.110.69 by www.hotmail.com with HTTP; Fri, 28 Jul 2000 08:15:33 PDT X-Originating-IP: [32.97.110.69] From: "Dan Martens" To: tomcat-dev@jakarta.apache.org Subject: Tomcat Servlet API and init methods Date: Fri, 28 Jul 2000 11:15:33 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm sorry to bother you but unfortunatly I feel as though I have an obligation to see this further. The issue of Tomcat init'ing each global servlet four times to cover each context seems like overkill and an unneccessary use of computer resources. Would it not be much more efficent and a better overall programming practice to expand the Servlet API to allow for mulitple contexts rather than creating four times as many objects to handle each seperate context? If Tomcat is to be a large scale commercial web server wouldn't these resources that each of these created objects occupy in memory and CPU time be better used for the handling of the thousands of hits a large web site may experience? Perhaps the current implementation of Tomcat is relying too heavily on the hardware than on efficent logic? The expansion of the servlet API may be a difficult task, and some server code would have to be re-written, but I believe it would be in the best interests of Tomcat. Does anyone else out there agree with me? ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com