[ 
https://issues.apache.org/jira/browse/TUSCANY-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128722#comment-13128722
 ] 

Simon Laws commented on TUSCANY-3962:
-------------------------------------

Thanks for the example Glen. 

It looks like there are no SCA annotations in this example. I looked at the 
JavaInterfaceIntrospector and found this comment....

        // Consider @javax.ejb.Remote, java.rmi.Remote and javax.ejb.EJBObject
        // equivalent to @Remotable

So it looks like your interface is treated as @Remotable. We have to decide 
whether this is correct or not because, as you've found, there are implications 
re. method overloading. 
                
> JCA20001 should not apply to interfaces which Tuscancy references
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-3962
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3962
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0-Beta3
>         Environment: WindowsXP SP3
>            Reporter: Glen Conboy
>         Attachments: myscaproject.zip
>
>
> I have a component which references a Java RMI interface.
> When I try to run Tuscany I get this error:
> org.apache.tuscany.sca.interfacedef.OverloadedOperationException: [JCA20001] 
> Cannot overload operation xyz on aaa.bbb.ccc.ddd.ServerInterface as it is a 
> @Remotable interface
> JCA20001 basically states "Remotable Services MUST NOT make use of method 
> overloading".  However I think that this should only apply to services which 
> Tuscany is exposing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to