On May 10, 2005, at 4:48 PM, Jesse Alexander (KBSA 21) wrote:

Hi

I think this is not an easy question. I got the impression that Struts is needing more
JSP-tags to represent a page which seems to slow it down a bit. JSF uses more memory
(if you use server-side state) or more bandwidth (if you use client-side state) but
somehow processing seems quite optimized. It will be interesting comparing
a) Struts vs JSF
b) different state-strategies (client, server, oracle's mixture,...) within JSF


For this we would need an application implemented in both Struts and JSF, and then
let a server feel the heat of a stress-testing session ;-)

You could hammer on AppFuse and Equinox - they both have Struts and JSF versions.


http://demo.appfuse.org/appfuse (Struts 1.2.4)
http://demo.appfuse.org/appfuse-jsf (MyFaces 1.0.7)

http://demo.raibledesigns.com/equinox-struts (same versions as above)
http://demo.raibledesigns.com/equinox-jsf

I haven't seen any performance differences in my experience - but I also haven't stress tested either of these applications under super-heavy load. I also haven't had any out-of-memory issues when using them in production - so they should make good test cases.

Matt


hth Alexander

-----Original Message-----
From: Yan Hu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 10:50 PM
To: Struts Users Mailing List
Subject: Is struts more performant than JSF

Hi:
I have been playing with JSF lately. I really like it since it is very intuitive. But as I
understand it, JSF keeps a component tree for each page with JSF widgets in it on the server. So
it is heavy weight compared with struts. Could I safely say that struts-based apps are a bit more
performant than JSF ones? someone please shed some light on it.......




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to