tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mel Martinez <melaqu...@yahoo.com>
Subject RE: TC3.3 Proposal: Refactoring org.apache.jasper.servlet
Date Tue, 27 Mar 2001 15:08:49 GMT

--- Steve Downey <steve.downey@netfolio.com> 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

Mime
View raw message