Hello everybody
I'm trying to run an EJB2 Client against an EJB3 SLSB, delivering the client
an EJB2 Home interface with the usage of the @RemoteHome annotation.
With JBoss 4.2.2.GA the sample is working fine, with JBoss 5.0.0.CR2 i'm
getting the following Message during the deploy:
java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.7):
The session bean remote interface interface ... must extend the
javax.ejb.EJBObject interface.
Remote Interface:
| @Remote
| public interface EJB3Remote {
|
| public String echo(String message);
|
| }
|
Home Interface:
| public interface EJB3Home extends EJBHome {
|
| public EJB3Remote create() throws CreateException, RemoteException;
|
| }
|
Bean:
| @Stateless
| @RemoteHome(EJB3Home.class)
| public class EJB3Bean implements EJB3Remote {
|
| public String echo(String message) {
|
| return "echo from EJB3 Bean <" + message + ">";
| }
| }
|
Thanks for any help.
Tom
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186953#4186953
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186953
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user