[cdi-dev] [JBoss JIRA] (CDI-26) Bootstrap API for CDI

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sun May 27 04:39:18 EDT 2012


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

Mark Struberg commented on CDI-26:
----------------------------------

The more I think about it, the more I'm sure that we need to push this to the EE7 umbrella spec.

Booting the CDI container alone is nice, but by far not sufficient.

EJB has already an API to boot the container (javax.ejb.embeddable.EJBContainer), CDI might get one too. But still the user will end up not being able to start his whole environment! 

Imagine a situation where a user likes to use openejb or JBossAS7-embedded in a SE environment. Starting the container alone would not be enough. Otoh one could argue that in those cases a user might easily use the containers native implementation specific classes directly. Wdyt?
                
> Bootstrap API for CDI
> ---------------------
>
>                 Key: CDI-26
>                 URL: https://issues.jboss.org/browse/CDI-26
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Packaging and Deployment
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>
> Weld and other CDI impls allow an embedded mode.
> See http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html#d0e5417 for example

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list