geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-6005) Unclear how big a cdi context is for an ear
Date Sun, 12 Jun 2011 07:21:51 GMT

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

David Jencks updated GERONIMO-6005:
-----------------------------------

    Attachment: share-owb-context.diff

Here's how to share the context.  Will apply it soon unless someone applies it first.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message