[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553767#comment-13553767 ] Thomas Andraschko commented on OWB-758: --- Whats exactly the issue? The FailOver stuff? > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553784#comment-13553784 ] Romain Manni-Bucau commented on OWB-758: nop, just the fact sessionscoped beans doesn't use the session. Of course it can concern failover but just restart too (tomcat persists/reloads session with the container) > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553842#comment-13553842 ] Thomas Andraschko commented on OWB-758: --- JFYI: org.apache.webbeans.web.failover.issupportpassivation would also for tomcat restart > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553849#comment-13553849 ] Romain Manni-Bucau commented on OWB-758: right (just realized my sentence was weird). the fact to go through all listeners is important too in some cases > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553937#comment-13553937 ] Thomas Andraschko commented on OWB-758: --- If we always store the beans in the session, than we should also remove the failover stuff. Right? > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553953#comment-13553953 ] Romain Manni-Bucau commented on OWB-758: Not sure we should be so strict, failover stuff is clearly interesting regarding performances (batch concept) but because of these optim it is not always usable. > 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
[jira] [Commented] (OWB-758) session backed session context
[ https://issues.apache.org/jira/browse/OWB-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554897#comment-13554897 ] Thomas Andraschko commented on OWB-758: --- do you mean that the session backed session context will be a optinal feature which can be activated/deactivated? > 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
[jira] [Commented] (OWB-758) session backed session context
[ 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