Software Reality
Programming with
a dose of satire.

Site Map Search


Agile Development
 
Extreme Programming
 
Code Generation


Articles
Lifecycle
Design
Programming
Soapbox
Reviews
Cthulhu

Java Swing
Swing's greatest threat isn't SWT, it's Flash
Swing Survival Guide


 
Check out our ageing Reviews Section


Use Case Driven
Use Case Driven Object Modeling with UML: Theory and Practice
Get from use cases to working, maintainable source code. Examples use Spring Framework, JUnit and Enterprise Architect

Agile UML
Agile Development with ICONIX Process
A practical subset of agile development techniques, illustrated by example

Get Controversial!
Extreme Programming Refactored
Extreme Programming with a dose of satire
Available now:



Programming

JavaServer Faces 1.0 Early Access Draft (Page 3)

<< Page 2 (Data Model Duplication)


Request Event Handling

Section JSF 2.3 addresses the request event-handling model. This model pertains to events generated by UI changes or events that are requests for UI changes. For example, a user selects a radio button, which changes the values in a select box.

This has been tried many times and shown to be lacking. Server-side request event models do not scale well because of the overhead of marshalling and un-marshalling an entire form to and from the HttpServletRequest; and with JSF, copying them into the UIComponent Tree; all for the sake of having the action of selecting checkbox change the values in a select box (for example).

The only client-server solution to this problem seems to be the use of selective transmission systems, which transmit only the changed components state to the server and are out of the scope of this article. In order to attempt to accomplish this in a web browser, some very extensive JavaScript needs to be written which can cause enormous amounts of support issues.

I think that there will be very little need for RequestEventHandlers and that most of the work will be done in the ApplicationEventHandlers.


>> Page 4 (Responses and State Saving)

<< Back to Programming

All trademarks and copyrights on this page are owned by their respective owners.
Stories and articles are owned by the original author.
All the rest Copyright © 1998-2008 Matt Stephens. ALL RIGHTS RESERVED.