This content has been marked as final.
Show 1 reply
-
1. Re: Can a local interface extend a remote interface?
winterer Mar 31, 2005 3:42 AM (in response to keyurva)I think it is better you do it that way:
public interface MyInterface { /* insert your methods here */ } @Local public interface MyLocal extends MyInterface { /* empty - inherits methods from MyInterface */ } @Remote public interface MyRemote extends MyInterface { /* empty - inherits methods from MyInterface */ } @Stateless public class MyEJB implements MyLocal, MyRemote { ... }