Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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.

        Activity

        kito75 created issue -
        Hide
        arjan tijms added a comment -

        This sounds very useful! The title may not tell the whole story though; it's thus not just about JSON vs XML, but also about doing delta updates instead of full updates, right?

        Show
        arjan tijms added a comment - This sounds very useful! The title may not tell the whole story though; it's thus not just about JSON vs XML, but also about doing delta updates instead of full updates, right?
        Hide
        kito75 added a comment -

        Arjun, you're exactly right.

        Show
        kito75 added a comment - Arjun, you're exactly right.
        Ed Burns made changes -
        Field Original Value New Value
        Assignee rogerk [ rogerk ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Major [ 3 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            kito75
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: