Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 43908 invoked by uid 500); 27 Mar 2001 15:08:49 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 43895 invoked from network); 27 Mar 2001 15:08:48 -0000 Message-ID: <20010327150849.26445.qmail@web13302.mail.yahoo.com> Date: Tue, 27 Mar 2001 07:08:49 -0800 (PST) From: Mel Martinez Subject: RE: TC3.3 Proposal: Refactoring org.apache.jasper.servlet To: tomcat-dev@jakarta.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- Steve Downey wrote: > > > > -----Original Message----- > > From: cmanolache@yahoo.com > [mailto:cmanolache@yahoo.com] > > Sent: Monday, March 26, 2001 1:08 PM > > To: tomcat-dev@jakarta.apache.org > > Subject: Re: TC3.3 Proposal: Refactoring > org.apache.jasper.servlet > > > > > > Hi Mel, > > > > In my view, jasper is composed from at least 5 big > components: > > > > 1. The jsp->java translator. > > > > 2. The java->class compiler > > > > 3. The Mangler ( managing name mappings ) > > > > 4. Runtime - that should be completely independent > of all > > other pieces, > > since jasper-generated servlets should run without > jasper ( as simple > > servlets ) > > > > 5. Interface with the serlvet container ( > JspServlet, > > JspInterceptor and > > the associated classes). ( putting all other > components togheter ) > > > > Layer 5 has to include the JspC/CommandLineXXX > components, also. They have > to provide an environment that looks to the rest of > the JSP compiler like a > web context, while actually interacting more closely > with the filesystem. > I'm not going to make it a primary goal to fix JspC, but I should be able to make the components reusable so that a new version of JspC could be refactored to use the same classes as this new version of JspServlet. > Mangler needs some work, too. JspC and JspServlet > have drifted in their > implementations. The bane of code sharing by cut and > paste. > I will try to address this as well. Mel __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text