REGISTER FREE to Receive Instant Job

Friday, 13 February 2015

RMI in Java


RMI is Java API that provides basic infrastructure for developing Distributed Applications in Java. RMI facilitate invocation of methods on remote object. A remote object is an object which is residing in a different JRE.
Terminology related to RMI-

  • Remote Method – A method that is invoked on a remote object using RMI.
  • Registry Service – is a binding and lookup service that is used to provide location transparency to remote objects.
  • Stub-is a proxy of remote object that is made available to the client using Registry Service and hides the complexity of Remote Method Invocation from client.
  • Skeleton- is a proxy of client that invokes remote method on the remote object on behalf of the client.

1.1
Stub & Skeleton are created for remote object.
1.2
Stub is registered.
2.0
Stub is looked up.
2.1
Stub is returned.
2.2
Remote method is invoked.
2.3
Connection to the skeleton is made & method call is marshaled.
2.4
Method call is unmarshalled and method is invoked on remote object.
2.5
Method is completed & result is returned.
2.6
Result is marshalled back to stub.
2.7
Result is unmarshalled & provided to client.


7 comments:

  1. Thanks for sharing such informative article.
    Regards,
    .Net Training in Chennai

    ReplyDelete
  2. Thanks for this informative blog please keep posting more often as it might help someone who is looking ti gain more knowledge.
    Php training in Chennai||Php course in Chennai

    ReplyDelete
  3. App Buzz for your website design and website services......

    ReplyDelete
  4. Thanks for sharing this information in here. As a fresher any one can also go for the below training programs.
    CCNA Training in Chennai

    ReplyDelete
  5. nice! thank you so much! Thank you for sharing. Your blog posts are more interesting and impressive. I think there are many people like and visit it regularly, including me.
    192.168.1.1

    ReplyDelete
  6. I wanted to thank you for this excellent read!! I definitely loved every little bit of it.Cheers for the info!!!! & This is the perfect blog for anyone who wants to know about this topic. I like play games five nights at freddy’s 4 | game word cookies answers | hotmail sign in

    ReplyDelete

Popular Posts

Powered by Blogger.

About Me

My photo

JobsAcid is a 'job search engine' to provide finding a job on the internet easier for the user. It has designed as huge selection of job offerings on the same search engine.