Similar to Java SE interfaces
- public interface SomeInterface
Annotated with client-access mode
- @Local – local(in context of application only)
- use import javax.ejb.Local;
- annotate with @Local
- @Remote – remote (inside and outside jar file)
- use import javax.ejb.Remote;
- annotate with @Remote