users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] [jsr344-experts] Ajax updates via JSON

From: Kito Mann <kito.mann_at_virtua.com>
Date: Wed, 28 Nov 2012 17:40:09 -0500

Hey guys,

It looks like I sent this to the wrong place. Thanks for the heads up, Andy!


On Tue, Nov 13, 2012 at 7:38 PM, Kito Mann <kito.mann_at_virtua.com> wrote:

> Hello volunteers,
>
> 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.
>
> I have been meaning to write a formal proposal for a while, but I
> figured I should at least share my thinking first.
>
> Thoughts?
>
> Sent from my iPhone
>
> http://www.jsfcentral.com
> http://www.Virtua.com
>