Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6005

Unclear how big a cdi context is for an ear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • general
    • Security Level: public (Regular issues)
    • None

    Description

      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.

      Attachments

        1. share-owb-context.diff
          5 kB
          David Jencks

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: