[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean

jaikiran do-not-reply at jboss.com
Wed Nov 5 05:37:39 EST 2008


"tom.iten at gmx.net" wrote : 
  | 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.
  | 

As noted in the error message, the 4.6.7 section of the spec mentions that the EJB2.x remote interface should extend from javax.ejb.EJBObject. So you will have to change it to:

Remote Interface:

  | @Remote
  | public interface EJB3Remote extends javax.ejb.EJBObject {
  | 
  | 	public String echo(String message);
  | 
  | }
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186958#4186958

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186958



More information about the jboss-user mailing list