You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2015/04/20 08:17:58 UTC
[jira] [Created] (OWB-1050) Store the Map in the SessionContext
Mark Struberg created OWB-1050:
----------------------------------
Summary: Store the Map<conversationId, conversationContexts> in the SessionContext
Key: OWB-1050
URL: https://issues.apache.org/jira/browse/OWB-1050
Project: OpenWebBeans
Issue Type: Improvement
Components: Context and Scopes
Affects Versions: 1.5.0
Reporter: Mark Struberg
Fix For: 1.5.1
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)