You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2006/12/28 07:12:21 UTC

[jira] Commented: (OPENEJB-240) javax.ejb.Remote

    [ http://issues.apache.org/jira/browse/OPENEJB-240?page=comments#action_12461153 ] 
            
David Blevins commented on OPENEJB-240:
---------------------------------------

Ok I see.  @Local or @Remote is allowed to be used on the bean class with no corresponding interface class name provided these conditions are met:

  - The bean has exactly one business interface
  - That business interface is not annotated contrarily (@Remote on the bean while interfaces is annotated @Local, and vice versa)

As this affects @Local too I'll reopen that issue as well.


> javax.ejb.Remote
> ----------------
>
>                 Key: OPENEJB-240
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-240
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: deployment, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: David Blevins
>             Fix For: 3.0
>
>
> @Target(ElementType.TYPE)
> @Retention(RetentionPolicy.RUNTIME)
> public @interface Remote {
>     Class[] value() default {};
> }

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