You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Remy Maucherat <re...@apache.org> on 2000/11/03 21:40:57 UTC

Re: moving jasper

----- Original Message -----
From: <cm...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Friday, November 03, 2000 12:42 PM
Subject: TC3: moving jasper


> In order to test and integrate the new jasper ( from catalina ) we
> need to move src/share/org/apache/jasper to src/jasper3/org/apache/jasper,
> and import jakarta-tomcat-4.0/jasper into jakarta-tomcat.
>
> I'll do that very soon - it'll generate a big diff file.
>
> I'll also integrate the invocation module, which seems very usefull, and
> I'm working on the webdav servlet ( well, there are big internal
> dependencies, but so far it seems possible to make it a trully reusable
> component, without dependencies on any individual container ) .

The dependencies are with the resources package, to have some abstraction to
the data being served, instead of just hardcoding access to the filesystem.
It hasn't reduced performance in a noticeable way.
So I would suggest you port the resources related stuff, instead of
replacing the calls to the resources related classes with filesystem
operations.

Just my $0.02.

BTW, I don't create dependencies just for the sake of creating dependencies
;) I only do it when I think I get something in return (like getting a nice
abstraction layer). For example, the new naming stuff which has just been
added in the Catalina tree is 100% Catalina-dependencies free.

Remy


Re: moving jasper

Posted by cm...@yahoo.com.
> The dependencies are with the resources package, to have some abstraction to
> the data being served, instead of just hardcoding access to the filesystem.
> It hasn't reduced performance in a noticeable way.
> So I would suggest you port the resources related stuff, instead of
> replacing the calls to the resources related classes with filesystem
> operations.
> 
> Just my $0.02.

If you can, please take a look at jakarta-tomcat/src/webdav, it's the
first round. 

The code is just great, I did all that in 1 hour ( i.e. remove all deps on
Catalina), and all that's missing is passing the docBase ( I have a
feeling that can be done only with servlet2.2).

> BTW, I don't create dependencies just for the sake of creating dependencies
> ;) I only do it when I think I get something in return (like getting a nice
> abstraction layer). For example, the new naming stuff which has just been
> added in the Catalina tree is 100% Catalina-dependencies free.

I'll try to add this to tomcat3 too, but one at a time :-)

Keeping the modules independent of the container is very important - I
think webdav should work in _any_ container, not only in
Catalina. Portability is very important :-)

Costin