"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."
Question: 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.