[
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