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

Store the Map<conversationId, conversationContexts> in the SessionContext

    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 store the ConversationContext in a mem-backed map.
      But this requires all sort of weird handling at cleanup and for cluster support.

      If we store the ConversationContext in the SessionContext instead then we do not need all this anymore.

      We also probably could get rid of the ConversationManager which heavily relies on the sessionId as well.

      ATTENTION: The implementation of the ConversationContext must not eagerly create HttpSessions but only if a @ConversationScoped contextual instance gets requested! Otherwise we will trash the server with creating a fresh session for SOAP requests, REST calls and other resource requests.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: