[cdi-dev] [JBoss JIRA] (CDI-162) Support Extended Persistence Contexts in Managed beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Sep 13 12:35:33 EDT 2012

    [ https://issues.jboss.org/browse/CDI-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718390#comment-12718390 ] 

Pete Muir commented on CDI-162:

I think it would need to be bound to a scope, not to a component. 

I don't particularly see any obstacles from a CDI perspective.

As Mark points out, trying to serialize the EntityManager isn't possible, so defining this for non-passivating scopes only is really our only option, in a clustered environment (or any other environment which tries to serialize the session).

Scott, can you elaborate on what you mean about "serializing/deserializing the component chain when a managed bean is the top level component" - what do you need concretely?
> Support Extended Persistence Contexts in Managed beans
> ------------------------------------------------------
>                 Key: CDI-162
>                 URL: https://issues.jboss.org/browse/CDI-162
>             Project: CDI Specification Issues
>          Issue Type: Tracker
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)

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

More information about the cdi-dev mailing list