Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-147

Are EJB's not deployed in a bean archive eligible for CDI injection

    XMLWordPrintable

Details

    • Tracker
    • Resolution: Obsolete
    • Major
    • TBD
    • 1.0
    • None
    • None

    Description

      If an EJB is deployed in an ejb-jar without a beans.xml, is this EJB eligible for CDI injection of beans deployed in other modules?

      The spec says:

      "The container performs dependency injection on all session and message-driven bean instances, even those which are not
      contextual instances."

      To me this sounds like the intent was to allow injection into EJB's looked up from JNDI, does this also mean that EJB's in non bean archives should also be injected?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sdouglas1@redhat.com Stuart Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: