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

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

      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?

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

                Created:
                Updated:
                Resolved: