[jboss-jira] [JBoss JIRA] (AS7-3021) Reference between ejb2 and ejb3 beans failing
Stuart Douglas (Resolved) (JIRA)
jira-events at lists.jboss.org
Sun Jan 1 21:44:09 EST 2012
[ https://issues.jboss.org/browse/AS7-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved AS7-3021.
---------------------------------
Assignee: Stuart Douglas (was: John Bailey)
Resolution: Rejected
This is a bug in the test, it is trying to cast a Test3 proxy to a Test3Business type.
> Reference between ejb2 and ejb3 beans failing
> ---------------------------------------------
>
> Key: AS7-3021
> URL: https://issues.jboss.org/browse/AS7-3021
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Ondřej Chaloupka
> Assignee: Stuart Douglas
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list