πŸ“Š J2EE Technologies
Q. In RMI which layer defines and supports the invocation semantics of the RMI connection and this layer maintains the session during the method call?
  • (A) The Stub & Skeleton Layer
  • (B) The Application Layer
  • (C) The Remote Reference Layer
  • (D) The Tr
πŸ’¬ Discuss
βœ… Correct Answer: (A) The Stub & Skeleton Layer
πŸ“Š J2EE Technologies
Q. What is the built on top of the socket programming?
  • (A) EJB
  • (B) RMI
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) RMI
πŸ“Š J2EE Technologies
Q. Which method of the Naming class (found in java.rmi) is used to update the RMI registry on the server machine?
  • (A) rebind ()
  • (B) lookup()
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) rebind ()
πŸ“Š J2EE Technologies
Q. RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?
  • (A) Java Remote Method Protocol (JRMP)
  • (B) Internet Inter-ORB Protocol (IIOP)
  • (C) Jinni Extensible Remote Invocation (JERI)
  • (D) All mentioned above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Java Remote Method Protocol (JRMP)
πŸ“Š J2EE Technologies
Q. 1099 is the default port used by RMI Registry.
  • (A) True
  • (B) False
  • (C) none
  • (D) all
πŸ’¬ Discuss
βœ… Correct Answer: (A) True
πŸ“Š J2EE Technologies
Q. Which method in naming class specifies a name to the remote object?
  • (A) bind(string name)
  • (B) rebind(string name)
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) bind(string name)
πŸ“Š J2EE Technologies
Q. Which objects are used by RMI for communicating with the remote object?
  • (A) Stub
  • (B) Skeleton
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A & B
πŸ“Š J2EE Technologies
Q. Which program obtains a remote reference to one or more remote objects on a server and then invokes methods on them in an RMI application?
  • (A) Server
  • (B) Client
  • (C) Both A & B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) Client
πŸ“Š J2EE Technologies
Q. Which package is used for Remote Method Invocation (RMI)?
  • (A) java.lang.rmi
  • (B) java.lang.reflect
  • (C) java.applet
  • (D) java.rmi
πŸ’¬ Discuss
βœ… Correct Answer: (D) java.rmi