[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1071) Business Interface must not extend EJBObject or EJBLocalObject

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Mon Oct 15 20:22:09 EDT 2007


Business Interface must not extend EJBObject or EJBLocalObject
--------------------------------------------------------------

                 Key: EJBTHREE-1071
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1071
             Project: EJB 3.0
          Issue Type: Bug
            Reporter: Andrew Rubinger
         Assigned To: Andrew Rubinger
             Fix For: HEAD


EJB3 Spec 4.6.6 Bullet 1:

"The following are the requirements for the session bean's business interface:
     * The interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface."

...thus the following construct:

public interface StatefulRemote extends EJBObject{...}

...and:

@Stateful
@Remote(StatefulRemote.class)
@RemoteBinding(jndiBinding = StatefulRemote.JNDI_NAME_REMOTE)
public class StatefulRemoteBean 

...should fail with a deployment exception referencing the specification.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list