Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      As discussed with Leonardo, i create an issue with the stateless jsf extension.
      The code: http://www.mediafire.com/?3wr72zlch7ly1wc (also prepared with myfaces namespace and checkstyle)

      This extension is based on: http://industrieit.com/blog/2011/11/stateless-jsf-high-performance-zero-per-request-memory-overhead/ (Thanks to Rudi!)
      I completely refactored the code and made it compatible with mojarra and myfaces (with extra modules).

        Issue Links

          Activity

          Hide
          Ertio Lew added a comment -

          +1 for this great idea!

          Is this going to be added sooner ? We really need this feature asap !

          Show
          Ertio Lew added a comment - +1 for this great idea! Is this going to be added sooner ? We really need this feature asap !
          Hide
          Ertio Lew added a comment -

          @Thomas: I could not find your project on the link you passed. Could you please post the correct link. Right now I have been trying to use Rudi's code based on Mojarra impl. Thanks to you guys for all this great work!

          Show
          Ertio Lew added a comment - @Thomas: I could not find your project on the link you passed. Could you please post the correct link. Right now I have been trying to use Rudi's code based on Mojarra impl. Thanks to you guys for all this great work!
          Hide
          Harrish Nale added a comment -

          Updates on this ?

          Could this be there in version 2.2 ?

          Show
          Harrish Nale added a comment - Updates on this ? Could this be there in version 2.2 ?
          Hide
          Leonardo Uribe added a comment -

          Not yet. It is a difficult topic, but I'm working on it, to see how far can we go with this and if it is worth to do it or not. Anyway, it will not be in JSF 2.2 spec, but maybe as a extension in MyFaces 2.1.x and upper versions.

          Show
          Leonardo Uribe added a comment - Not yet. It is a difficult topic, but I'm working on it, to see how far can we go with this and if it is worth to do it or not. Anyway, it will not be in JSF 2.2 spec, but maybe as a extension in MyFaces 2.1.x and upper versions.
          Hide
          Rohan added a comment -

          +1 for the idea for JSF performance improvement

          Show
          Rohan added a comment - +1 for the idea for JSF performance improvement
          Hide
          aditya added a comment -

          I believe, this feature is the major & most important need of JSF for high performance applications. When not required, it is simply a waste to save state redundantly when there is no difference across the views saved for a page in different user sessions. For most developers looking for a high performance framework, JSF is turn downed because of its forced stateful behaviour. However in any application not all pages need to be stateful, even more commonly there are more no of applications with pages demanding stateless behavior. If JSF has to survive & excel it has to satisfy those justified needs.

          Unfortunately, we had to reject JSF, after year after just because it consumed too much resources & degraded its performance because of its forced stateful behavior. Great to see that this feature is being worked on in JSF & but I wish that we can see this in JSF soon rather than hanging ourselves with forced stateful behaviour for another couple of years. Can't wait to use stateless JSF for my upcoming projects!

          Show
          aditya added a comment - I believe, this feature is the major & most important need of JSF for high performance applications. When not required, it is simply a waste to save state redundantly when there is no difference across the views saved for a page in different user sessions. For most developers looking for a high performance framework, JSF is turn downed because of its forced stateful behaviour. However in any application not all pages need to be stateful, even more commonly there are more no of applications with pages demanding stateless behavior. If JSF has to survive & excel it has to satisfy those justified needs. Unfortunately, we had to reject JSF, after year after just because it consumed too much resources & degraded its performance because of its forced stateful behavior. Great to see that this feature is being worked on in JSF & but I wish that we can see this in JSF soon rather than hanging ourselves with forced stateful behaviour for another couple of years. Can't wait to use stateless JSF for my upcoming projects!
          Hide
          Thomas Andraschko added a comment -

          JSF 2.2 provides stateless views and MyFaces 2.2 AFAIK provide poolable views

          Show
          Thomas Andraschko added a comment - JSF 2.2 provides stateless views and MyFaces 2.2 AFAIK provide poolable views

            People

            • Assignee:
              Unassigned
              Reporter:
              Thomas Andraschko
            • Votes:
              16 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development