• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

RMI on Object Implementation

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why it is impossible to perform a remote invocation directly on an object implementation?
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic