You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Frank Cornelis (JIRA)" <ji...@apache.org> on 2017/04/14 09:42:41 UTC

[jira] [Created] (DELTASPIKE-1243) CrossConversationScoped

Frank Cornelis created DELTASPIKE-1243:
------------------------------------------

             Summary: CrossConversationScoped
                 Key: DELTASPIKE-1243
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1243
             Project: DeltaSpike
          Issue Type: New Feature
          Components: Servlet-Module
            Reporter: Frank Cornelis
            Priority: Minor


This new scope, @CrossConversationScoped, allows you to share beans between two servlet container sessions. The lifecycle of the @CrossConversationScoped beans corresponds with the HTTP session of the creating session. Via a CrossConversationStrategy implementation you can link these beans to a second HTTP client (that is not directly linked to the HTTP session of the first client).

We use this component to glue together a web browser session with some middleware component that talk to the server outside of the web browser session.

Source code is available at:
https://github.com/e-Contract/cdi-cross-conversation
We've licensed under Apache to make it importable in DeltaSpike if this feature seems interesting enough.

Arquillian based integration tests are also provided.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)