[ 
https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554903#comment-13554903
 ] 

Romain Manni-Bucau commented on OWB-758:
----------------------------------------

sure, as in TomEE today

that's actually a proposal, in TomEE i workarounded it using a custom session 
interceptor handler touching the session for each method in distributed mode. 
In single node mode it directly uses the map of the tomcat session so 
performances are the same and restart features are free (compared to 
failoverservice).
                
> session backed session context
> ------------------------------
>
>                 Key: OWB-758
>                 URL: https://issues.apache.org/jira/browse/OWB-758
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> In some case it is useful to use the session to store session beans even if 
> performances are not so great as with a local map
> here a sample for tomcat: 
> org.apache.tomee.catalina.cdi.SessionContextBackedByHttpSession
> the main issue is not the context itself but the fact to need to "touch" the 
> session for each bean update

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to