tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: xsl by extension
Date Fri, 07 Sep 2001 03:07:58 GMT
"" <> wrote:

> Another ( and better ) solution - extend JspInterceptor ( well, the code
> needs some cleanup - again I would recomend you do that in j34 workspace
> ).
> Then you can add the dependencies and avoid any overhead - your XSP pages
> will run as fast as a servlet, without any extra dispatching or
> intermediary servlet.
> BTW, I'm happy I'm not alone on xsl and jasper :-)
> Let me know if I can help.

Of course none of this is portable across servlet containers, but we seem to
easily forget about that :) Being Tomcat the Reference Implementation, as an
ASF member, and Servlet JSR member, I'll never stop stressing out that IMNSO
relying on container-specific features IS to any extent WRONG unless this
can not in ANY WAY done otherwise.

One alternative I might be suggesting is Cocoon, which is fully portable
across platforms, and deals with XML data more or less in the way that Javi
needs to, but also that somehow is tricky, as you might get tied to the
Cocoon architecture.

Remember, never get down to compromises with your container unless you're
forced to, and absolutely ready to be tied to that particular container for
a very long time (I could understand sticking to Cocoon, since it runs in
any servlet container, I wouldn't be so sure for certain Servlet API
extensions, such as interceptors in TC3.x, or Valves -for what that matters-
in TC4.x)...

That's just my 0.02$, but wearing the hats I'm wearing, I believe I'm fairly
on the fair side here...


View raw message