Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI on Object Implementation  RSS feed

 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why it is impossible to perform a remote invocation directly on an object implementation?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure what are you referring to as "directly".
If you are saying that any java object must be available remotely then you are lacking the basic understanding how some one communicates remotely. I would recommend going through the java RMI tutorials first.
 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read in a book

"All networking code you write is applied to interfaces, not implementations. In fact, you must use this paradigm in RMI-IIOP—you do not have a choice. It is
impossible to perform a remote invocation directly on an object implementation. You can operate solely on the interface to that object’s class."


Why is that we can do it with interface and not with it's object implementation? actually, under the interface lies the actual Object Implementation object which we make invocations on. then why is that we claim we can't make invocation on implementations?

Hope you understand my question
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!