To be fair, there was a time when requestdispatchers were slow, and people would compare apples to oranges in requestdispatchers vs velocity templates. However, for webwork's needs, there is little to no difference between the two, based on any tests I've run.

remigijus wrote:

----- Original Message -----
From: "Hani Suleiman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 6:04 PM
Subject: Re: [OS-webwork] WebWorks without velocity how to



Jason Carreira wrote:


XWork has no dependency on Velocity.

In WW we use templates to render our UI tags. In WW1 this is based on
JSP templates. In WW2 this is based on Velocity because : a) It's
faster, b) it's less of a memory hog, c) they're easier to edit as

templates


Erm, actually (after adding the exact same functionality to ww1, so you
can choose between velocity and jsp and have both be equally optimised
out of the box), I can tell you that on the latest versions of most
popular servlet containers:

a) nope
b) depends
c) nope




I absolutly agree with Hani's opinion, Velocity can not be faster. There one
main difference, velocity is used as template and it does parsing of the
template file each time when it is used. Velocity works as interpreter (or
I'm wrong). With JSP evrything is abolutly different. first time JSP is
convetred to java servlet after that compiled to Java bytecod loaded to
servlet engine and ready to serve as many pages as it is required in the
fastest possible way. I don't understand how it can be faster.

If someone can prove me other please do that.



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to