Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Replace "fat" XML responses with modern JSON/RESTful responses #1473

Description

@Quix0r

JSF seem to be criticized for having XML responses in AJAX requests. Those come from an older time of the JSF specification (as I know) and are today out-dated to use XML in HTTP responses. Modern MVC frameworks (like JSF is) use JSONs or RESTful responses (I know the former one).

This proposed change will drastically reduce the utilized bandwidth and "silence" critics directing this issue. :-)

Activity

  1. arjantijms commented on Apr 30, 2020

    @arjantijms
    Member

    It's perhaps not always so super clear cut due to compression (XML compresses really well), but nevertheless a JSON response is absolutely in scope. I remember we discussed this before, but it didn't make the 2.2 or 2.3 cut.

  2. Quix0r commented on Apr 30, 2020

    @Quix0r
    Author

    JSF/PF are being criticized for having "fat" XML responses in AJAX responses. Sure you cannot make everything right for everybody. So let's bring it back and (maybe) assign it to 2.4 or 2.5 specification.

    Of course, PrimeFaces are not the topic here, just mentioned it. I may have to bring it up over there, too then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions