John Aronson

Greenhorn
+ Follow
since Jun 26, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John Aronson

Hi Guys,

I like the concept of JavaFX and I'm working my way through the tutorials.

There's some bugs in the tutorials with the release of JavaFX 1.2. The language has changed under the tutorials [especially in the Media Browser Tutorial]. Is your book up to date with version 1.2?

Also do you think the JavaFX language has the capability to scale up to larger codebases?

John Aronson
12 years ago
Tim,

I've gotta clear up something in the last posting. One of the meanings of cavalier is "nonchalant" . That is what I was trying to convey. I didn't mean to imply anyone was being rude. Basically, I think the whole topic of JSF performance is being ignored my the JSF community.

I grabbed the attachments from the original performance bug https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=3 and ran some JMeter tests against the "JSP only" and the JSF versions.

The pages are really simple, the JSP version outputs a page which is visually identical to the JSF page. The table in question had 10 columns and 50 - 200 rows. Not a huge amount of data. I used MyFaces 1.1.3 as the JSF implementation and ran the test in JBoss 4.0.4 GA running on JDK 1.4.2.

Here's the results:

This data confirms the discussion in the sun forum. The JSF version started out nearly three times slower than the JSP page. The relative performance of the JSF version degraded to nearly four times slower as table rows were added.

So if you are thinking about adopting JSF you should be aware of the performance hit and make sure that you can architect around the problem or get the performance benchmarks adjusted. Perceived performance is important in real life projects so it's more than a theoretical problem.

I'd also like to know if anybody has ideas or code samples that make JSF perform better?

John Aronson
[ July 08, 2006: Message edited by: John Aronson ]
15 years ago
JSF
Has anyone out there done a performance comparison of JSF with alternative technologies?

I'm currently working a production JSF application and I'm running into many barriers when I try to design the UI for high performance. From what I can see in the JSF specification and the MyFaces source code there are a number of performance problems that are built into JSF.

I'm also getting a cavalier attitude from the JSF designers and implementors. For example, check Craig McClanahan's post here: http://forum.java.sun.com/thread.jspa?threadID=545810&messageID=2686286
and Manfred Geiler's comments here: http://www.jsfcentral.com/articles/geiler-04-04.html

Has anyone out there run into performance problems with JSF and overcome them?
15 years ago
JSF