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

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Thu Dec 6 06:32:54 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1071?page=all ]

Carlo de Wolf updated EJBTHREE-1071:
------------------------------------

    Fix Version/s: AS 5.0.0.Beta3
                       (was: HEAD)

> 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 Lee Rubinger
>         Assigned To: Andrew Lee Rubinger
>             Fix For: AS 5.0.0.Beta3
>
>
> 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