I am reading some RMI document and all the books say that we need to create Stub for the client in order to communicate with the server.
However, I have tried to not create stub and things worked like a charm. I have put the client program on one machine and the server on another, things worked perfectly.
So, what is actually the purpose of creating Stub and do we really need to create one?
Thanks.
I am reading some RMI document and all the books say that we need
Share
Since Java 1.5 you don’t have to:
From http://download.oracle.com/javase/1.5.0/docs/guide/rmi/relnotes.html