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

Martin Kouba (JIRA) issues at jboss.org
Wed Dec 14 05:31:01 EST 2016


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

Martin Kouba commented on CDI-667:
----------------------------------

bq. Session beans are and should still be considered as beans.

I agree. We should somehow copy the text from "17.4. Default bean discovery mode for Java EE".

bq. For the trimming, it just add @Singleton and other Scope beans, which are over above the cdi beans.

I think session bean annotations are not enough. I'm not sure but I remember it was possible to use ejb descriptor instead of annotations.

> 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