[jboss-dev-forums] [Design of EJB 3.0] - Re: When is there an EJBObject?

ALRubinger do-not-reply at jboss.com
Thu Oct 11 18:21:08 EDT 2007


I'd like to come to a consensus here and close EJBTHREE-1058 out.

"EJB 3.0 4.6.6" wrote : The (session bean's business) interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface.

I believe this makes:
public interface StatefulRemote extends EJBObject{...}
  | 
  | ...and:
  | 
  | @Stateful
  | @Remote(StatefulRemote.class)
  | @RemoteBinding(jndiBinding = StatefulRemote.JNDI_NAME_REMOTE)
  | public class StatefulRemoteBean 

...from 1058 an invalid construct.  "StatefulRemote" is here marked as remote business interface, but it extends EJBObject.  

RemoteUnitTestCase.testEJBObject() is now passing.

Would like to:

* Close 1058 as invalid
* Open new issue: Construct in 1058 should result in deployment failure, citing spec 4.6.6.

Y/N?

S,
ALR



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

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



More information about the jboss-dev-forums mailing list