Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMIC

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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."

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic