geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GERONIMO-6005) Unclear how big a cdi context is for an ear
Date Wed, 28 Dec 2011 16:56:30 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks resolved GERONIMO-6005.
------------------------------------

    Resolution: Fixed

We have a cdi context per ear.  I think the cdi 1.1 spec is going to clarify what is actually
expected.
                
> Unclear how big a cdi context is for an ear
> -------------------------------------------
>
>                 Key: GERONIMO-6005
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6005
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: general
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>         Attachments: share-owb-context.diff
>
>
> The cdi spec and pete muir are a bit unclear on how many web beans contexts there are
for an ear.  At the moment the behavior is ridiculous: the ejb module sets one up using the
openejb lifecycle (good) and then the web module sets one up for the same classes using the
web lifecycle (bad).  At least until we understand what is supposed to happen and have separate
bundles for each module the best solution (IMO) is to have a single web beans context for
the entire ear, set up by openejb. This involves a slight change in the existing sharing logic.

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

        

Mime
View raw message