• 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
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

how RMI works?

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please give me a brife description of how RMI works.
Thanks in advance,
Sarah
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

RMI works with the RMI Registry. All the objects that is to be accessed, will have to be registered first in the RMI registry. This registry can be located in any of the remote system. Before registering the object into register. U have to create a Skeleton and Stub class using an Interface which extends Remote class.
U have to compile the Server and client programs with java.exe which should be followed by compiling the Server class file with rmic.exe (RMI compiler) which will create the Skeleton and Stub files automatically. Client program and Server program will not directly talk to the registry, instead they use Stub and Skeleton files.
Hope this gives a brief idea on RMI architecture.
Arun
Sun Certified Programmer for Java2 Platform
 
You didn't tell me he was so big. Unlike this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic