Re: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Rickard Öberg
Eric Webb wrote: Since moving to web application frameworks (jakarta turbine and ww2) I've exclusively used velocity. I find velocity's syntax to be simple, clean, and sufficently powerful for constructing views. I mean, when you get down to it, a view is simply html (in most cases), and

Re: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread remigijus
Ok it sounds nice, I'm not against velocity, I'm just curious. How many hits you are getting per day and peak load? What hardware and software do you use? Did you tryed to look at Freemarker, how can you compare Freemarker vs Velocity. - Original Message - From: Rickard Öberg [EMAIL

RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Erik Jõgi
Rickard Öberg wrote ... 2) Great performance 3) Templates does not have to be in files (JSP files do) ... where does the performance win over JSPs come from? As JSPs are compiled into servlets, how do you beat that? if you don't put your templates into separate files, then where do you put

RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Konstantin Priblouda
--- Erik_Jõgi [EMAIL PROTECTED] wrote: Rickard Öberg wrote ... 2) Great performance 3) Templates does not have to be in files (JSP files do) ... where does the performance win over JSPs come from? As JSPs are compiled into servlets, how do you beat that? Did you looked into

Re: [OS-webwork] Tomcat out of memory

2004-02-22 Thread Andrius Paulauskas
http://ejp.sourceforge.net/ - extensible java profiler might work for you. i don't know any specific tools for web applications. I think I'm going to do that, but haven't desided yet what profiler to use. And I'm not sure which is the best for webApplication profiling. Also it would be nice

Re: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Rickard Öberg
remigijus wrote: Ok it sounds nice, I'm not against velocity, I'm just curious. How many hits you are getting per day and peak load? What hardware and software do you use? We do load tests sometimes, but it's hard to compare that with reality. In reality, we do have one web hotel server which

Re: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Rickard Öberg
Erik Jõgi wrote: Rickard Öberg wrote ... 2) Great performance 3) Templates does not have to be in files (JSP files do) ... where does the performance win over JSPs come from? As JSPs are compiled into servlets, how do you beat that? Don't know, don't care. It's just faster :-) That's probably not

Re: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread remigijus
- Original Message - From: Rickard Öberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 22, 2004 6:27 PM Subject: Re: [OS-webwork] Velocity vs. JSP remigijus wrote: Ok it sounds nice, I'm not against velocity, I'm just curious. How many hits you are getting per day

RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Drew McAuliffe
I think that's dependent on the servlet container. I know that Orion/oc4j is much faster than Tomcat with JSPs. If I were forced to use Tomcat, then velocity would be more compelling. Personally, I find velocity easier to use because it just seems more focused to the task at hand with MVC view

[OS-webwork] scripted Actions

2004-02-22 Thread Donnerstag, Juergen
A couple of weeks ago I asked this forum on how to implement scripted Actions in order to speed up development. I received a couple of ideas which I tried to implement. Unfortunately none of these ideas meet my requirements. Below is a kind of a small analysis. Requirement: Instead of writing

[OS-webwork] velocity how to change character encoding

2004-02-22 Thread remigijus
Just started to use velocity instead of JSP and got first questions. 1. How to set caharacter encoding 2. How can I get array size from the velocity template. As I see it looks that freemarker does not have such problems. Regards Remis

Re: [OS-webwork] scripted Actions

2004-02-22 Thread Dag Liodden
Default would be the java's default functionality and ScriptedClassLoader might be used for Groovy classes. Depending on the loader used, the class attribute will have a different meaning. Issues with this approach: The script language must be very very similar to Java suppporting objects and

RE: [OS-webwork] scripted Actions

2004-02-22 Thread Jason Carreira
I'm attaching the Script action from WW1.x... This should probably work out of the box with WW2, but if someone wants to try it out (and write some unit tests? :-) ) then we can add it to WW2... Jason -Original Message- From: Donnerstag, Juergen [mailto:[EMAIL PROTECTED] Sent:

RE: [OS-webwork] xwork and components and NullPointerExceptions

2004-02-22 Thread VisualJeff
Think it might just be easier for me to make use of a singleton for now? If I was using webwork2 on top of xwork I would make use the components stuff. I really like they way IoC was implemented in webwork! VisualJeff At 06:42 PM 2/19/2004 -0800, you wrote: There are two things you need to