Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7743

Reference between ejb2 and ejb3 beans failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • EAP 6.0.0 DR 8
    • EJB
    • None
    • This was not a bug of AS7 but incorrectly written test.
    • NEW

      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)

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

              Created:
              Updated:
              Resolved: