[cdi-dev] [JBoss JIRA] (CDI-667) Session beans in trimmed bean archive

Emily Jiang (JIRA) issues at jboss.org
Wed Dec 14 08:54:00 EST 2016


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

Emily Jiang commented on CDI-667:
---------------------------------

Session beans - beans with session bean annotations e.g. Stateful, Singleton, Stateless or defined as session beans via ejb descriptor.

In my previous comment, I meant the javax.inject.Singleton not ejb Singleton:o. In summary, the extra beans to be discovered (with @javax.inject.Singleton or other @Scoped) are not session beans. 

> Session beans in trimmed bean archive
> -------------------------------------
>
>                 Key: CDI-667
>                 URL: https://issues.jboss.org/browse/CDI-667
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Tomas Remes
>             Fix For: 2.0 .Final
>
>
> Currently it is not obvious how session beans should be treated in trimmed bean archive. In other words are they considered as beans or not? 
> IMO we should state that there are discovered as beans, but it's questionable.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the cdi-dev mailing list