small changes to factory and implemented rmi awareness with a simple register/deregister program
This commit is contained in:
13
rmi_Awareness/HelloInterface.java
Normal file
13
rmi_Awareness/HelloInterface.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package rmi_Awareness;
|
||||
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 01/12/2014.
|
||||
*/
|
||||
public interface HelloInterface extends Remote {
|
||||
|
||||
String sayhello() throws RemoteException;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user