Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-663

Local interface should be preferred over remote when injected via @EJB

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • EJB 3.0 RC8 - FD
    • None
    • None

    Description

      Having a session-bean with interface annotated with both @Local and @Remote annotations and injected into another session-bean via @EJB, the injected proxy should be local proxy and not remote proxy.
      I think changing ProxyFactoryHelper.getJNDIName should do the thing.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              metelka_jira Petr Matejka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: