RMI Interview Questions and Answers

RMI Questions and Answers:

1 :: What are the services in RMI?

An RMI "service" could well be any Java method that can be invoked remotely. The other service is the JRMP RMI naming service which is a lookup service.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 1 No
Place Your Answer

2 :: Explain RMI Architecture?

RMI uses a layered architecture, each of the layers could be enhanced or replaced without affecting the rest of the system. The details of layers can be summarised as follows:

1. Application Layer: The client and server program
2. Stub & Skeleton Layer: Intercepts method calls made by the client/redirects these calls to a remote RMI service.
3.Remote Reference Layer: Understands how to interpret and manage references made from clients to the remote service objects.
4.Transport layer: Based on TCP/IP connections between machines in a network. It provides basic connectivity, as well as some firewall penetration strategies.
0/5 Rating (0 vote)
Is This Answer Correct?    2 Yes 0 No
Place Your Answer

3 :: In a RMI Client Program, what are the excpetions which might have to handled?

a. MalFormedURLException
b. NotBoundException
c. RemoteException
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 1 No
Place Your Answer

4 :: What is PortableRemoteObject.narrow() method and what is used for?

Java RMI-IIOP provides a mechanism to narrow the the Object you have received from from your lookup, to the appropriate type. This is done through the javax.rmi.PortableRemoteObject class and, more specifically, using the narrow() method.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 1 No
Place Your Answer

5 :: What does the exportObject of UnicastRemoteObject do?

Exports the remote object to make it available to receive incoming calls, using the particular supplied port. If port not specified receives calls from any anonymous port.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 1 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: RMI Interview Questions and Answers
RMI Interview Questions and Answers

Top Frequently Asked RMI Question
Frequently Asked RMI Job Interview Question


Top Frequently opened Java Programing Job Interview categories
Most popular Java Programing Job Interview categories

Comments About RMI Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about RMI Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about RMI Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on RMI Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding RMI Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: RMI Interview Questions and Answers
Comments on RMI Interview Questions and Answers

 
Top of Link batk to RMI Interview Questions and Answers
Link batk to RMI Interview Questions and Answers