I know this will be really silly question to ask but I have to
I have trying to get this RMI thing to work but I have found that RMI have been changed significantly after
Java 5, i.e we don't need to use rmic
Honestly, I have no clue what RMI is all about
So could you someone give me some good tutorials on RMI perhaps very basic ones!
I found a tutorial.
RemoteInterface.java
ServerImplements.java
Server.java
Client.java
Steps for executions
javac RemoteInterface.java
javac ServerImplements.java
rmic ServerImplements
javac Server.java
javac Client.java
start rmiregistry
start java server
java Client
I found this & I implemented the code as one, like
Server
And Client as
When I run this it gives me this error :
Why do I even need to create an extra class for ServerImplements.java.
I don't understand can't we just create our server & specify its location & client simply connects to it ??
And can't we simply run the server.java & then client.java instead of the long process ??
BTW, I'm running this on BlueJ
Sorry, I'm the biggest noob on this forum