Java Reference
In-Depth Information
@Stateless
public class Color implements yellow, green {
... }
//In this example, yellow and green are local
interfaces
public interface yellow { ... }
public interface green { ... }
@Local
@Stateless
public class Color implements yellow, green {
... }
//In this example, yellow and green are remote
interfaces
public interface yellow { ... }
public interface green { ... }
@Remote
@Stateless
public class Color implements yellow, green {
... }
//In this example, only the yellow interface is
exposed as a remote interface
@Remote
public interface yellow { ... }
public interface green { ... }
@Stateless
public class Color implements yellow, green {
... }
//In this example, only the yellow interface is
Search WWH ::




Custom Search