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

Store @SessionScoped beans in real HttpSession if available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • Context and Scopes
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: