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

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sun Oct 28 16:11:01 EDT 2007


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

Andrew Lee Rubinger resolved EJBTHREE-1071.
-------------------------------------------

    Resolution: Done

Satisfied as a result of resolving linked issue EJBTHREE-1075

> 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: 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