File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMIC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMIC" Watch "RMIC" New topic


Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
The following is what i came across about RMI

"The rmic compiler generates stub, and skeleton class files (JRMP protocol), and stub and tie class files (IIOP protocol) for remote objects. These classes files are generated from the compiled Java programming language classes that contain remote object implementations."

The stubs and skeleton are basically proxies which contain the smarts to communicate across JVMs. So, why does rmic have to work on the remote object implementation ? Isnt it sufficient if we work of the remote object interface ? i.e why not the remote interface be given as the argument to rmic command ?

Would appreciate if some one could throw more light into this.
subject: RMIC
Similar Threads
How to create the stub class using rmic
RMI implementation
Servlets and RMI
Does anybody can explain how RMI works?
RMI Skeleton class