Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3021

Reference between ejb2 and ejb3 beans failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      The way how it was possible to reference EJB2 beans in EJB3 beans does not work. The migration of test from AS5 could be check on (2 jars in an ear file):
      https://github.com/ochaloup/jboss-as/tree/JBQA-5483-test-migration-ejb2refer-ear

      There is 2 problems currently:

      • to use EJB2 bean from EJB3 has problem in case that ejb-jar.xml (for EJB3 bean) does not specify <remote> interface (deploy fails)
      • @EJB annotation not bound ejb2 bean via mappedName (see the test example)

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: