Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-1184
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: kito75
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

Support using JSON for component updates instead of XML

Created: 22/Apr/13 01:05 PM   Updated: 08/Nov/13 09:15 PM
Component/s: Ajax/JavaScript, Components/Renderers
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: arjan tijms and kito75


 Description  « Hide

One of the primary complaints about JSF is speed. We have paid a lot
of attention to optimizing server-side state over the past few years,
but we can also optimize the processing on the client. When a
component is updated via Ajax, currently we render the entire
component, even if only one property has changed. It would be much
more efficient if we sent only the changed properties via JSON and let
the client-side representation of the component update itself
accordingly. I have implemented a limited version of this for one of
my clients, and Ajax updates are noticeably faster. Updating the spec
to support this would not be a major change (because components would
opt-in to this feature), but it would have a dramatic affect on
client-side Ajax updates.

Initial EG thread: https://java.net/projects/javaserverfaces-spec-public/lists/jsr344-experts/archive/2012-11/message/105

I will post a more formal proposal later.



Sort Order: Ascending order - Click to sort in descending order
Ed Burns made changes - 08/Nov/13 09:15 PM
Field Original Value New Value
Assignee rogerk [ rogerk ]