[cdi-dev] [JBoss JIRA] (CDI-357) @Stateless and @Singleton session beans are no longer passivation capable dependencies

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Mar 27 10:57:42 EDT 2013


     [ https://issues.jboss.org/browse/CDI-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir resolved CDI-357.
---------------------------

    Resolution: Rejected


Unfortunately this was a bug in CDI 1.0 - not all session beans are passivation capable, so CDI assuming they are is just plain wrong.
                
> @Stateless and @Singleton session beans are no longer passivation capable dependencies
> --------------------------------------------------------------------------------------
>
>                 Key: CDI-357
>                 URL: https://issues.jboss.org/browse/CDI-357
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Beans
>    Affects Versions: 1.1.PFD
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>            Priority: Blocker
>             Fix For: 1.1.FD
>
>
> This is a regression since 1.0
> CDI 1.0:
> {quote}all session beans are passivation capable dependencies{quote}
> CDI 1.1:
> {quote}all passivation capable beans with scope @Dependent are passivation capable dependencies{quote}
> and 
> {quote}As defined by the EJB specification, stateless and singleton session beans are not passivation capable{quote}

--
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