• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rmi basic, why skeleton is not needed ?

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am beginner to RMI,
Why we need to place stub files generated after executing,
rmic -v1.2 BookServerSide
BookServerSide_stub.class to both client & server side ?
As i know, stub file is a representation of server side object over the
client side, to which client pass the request.
If i dont put the stub file over the server i get an exception
java.lang.ClassNotFoundException: BookServerSide_Stub
even though i agree to a point, how server will come to know client ? Why we dont generate skeleton file as in jdk1.1 ?
from ,
vikram.
 
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vikram,
Please read the JavaRanch policy on user names at http://www.javaranch.com/name.jsp, and register a user identity with a complete first and last name.
I'm working on an answer to your questions about stubs on the server and how unmarshaling works without a skeleton; now that I'm at that point in my Developer project I feel like I ought to know too. In the meantime, any RMI internals expert please feel free to help us out here!
Jerry
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also had the same doubt before... i have found the answer to this question myself after a lot of experimentation and research.. just check out the link
http://aslam128.topcities.com/rmi.htm
reply
    Bookmark Topic Watch Topic
  • New Topic