Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1048

Store @SessionScoped beans in real HttpSession if available

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: Context and Scopes
    • Labels:
      None

      Description

      Currently we always store our @SessionScoped beans in a Map<String sessionId, Map<beanbags>> in memory.
      This causes some nasty issues with sessionId rewrites. We also need the pretty complicated FailOver handling for enabling sane cluster behaviour.

      We do not need any of those things if we utilize the real HttpSession IF available. That means we do still use a mem-backed Map for owb-core, but provide a different SessionContext impl in the owb-web module.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                struberg Mark Struberg
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: