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

Store the Map<conversationId, conversationContexts> in the SessionContext

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: