Help coderanch get a
new server
by contributing to the fundraiser

Anne Buit

Greenhorn
+ Follow
since Feb 21, 2009
Merit badge: grant badges
For More
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 Anne Buit

Ok, thanks again for your reply!
15 years ago
Thank you for your answers!

Does this mean that JavaFX is basically a client-sided user interface framework, with no real client-to-server interactions integrated in this framework?

(i.e. it would be used to support a rich user interface, not to support the logic behind it)
15 years ago
Hello Eric J. Bruno, Jim Connors & Jim Clarke,

As far as I know, JavaFX is a technology to develop RIA's, just like JSF. Could JavaFX compliment existing JSF applications?

If so, can JavaFX be integrated into the JSF lifecycle, or would the both of them run as two serperate programs within an application?

If not, are both technologies rivals of eachother in the world of RIA technologies?
15 years ago
Is there anyone who has anything to say about this, or am I the only one who thinks this is an issue? Any feedback would be greatly appriciated.
15 years ago
JSF
Hello,

I'm developing an application using dynamic JSF. Our application has only one page, so only one view per user. This page contains everything, the dom structure is built dynamically etc. We use Java to modify, subclass and write the JSF components and their children.

However, due to the richness of our application, we are running into a bottleneck.
The serialized view itself is very small, and is stored server-sided. However, during Phase 1 of the JSF lifecycle, the entire view is restored into java objects. This results in thousands of java objects, active during the JSF Lifecycle, which might be just a few miliseconds, only to be deallocated shortly after.

Using Ajax, some phases can be skipped using attributes like 'immediate'. However, I do not know of a way to omit a part of the view. For instance, when I do a server request to perform a validation on a field, I don't need the whole application to be restored. 20.000 java objects are not an exception. 500 java objects to garbage collect instead of 20.000 would greatly improve our performance. I asked at the RichFaces forum, but to no avail.

Summary: Is there any way to limit the size of the view tree during Phase 1 of the JSF LifeCycle?
15 years ago
JSF