KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > FooRemoteInterface


1 //The foo remote interface
2
//extends only the Remote interface
3
//and exposes the remote methods
4
import java.rmi.Remote JavaDoc;
5 import java.rmi.RemoteException JavaDoc;
6
7 public interface FooRemoteInterface extends Remote JavaDoc {
8
9     //This method is remote
10
public Integer JavaDoc myMethod() throws RemoteException JavaDoc;
11
12 }
13
Popular Tags