Top 80+ Solved J2EE Technologies MCQ Questions Answer
Q. Which program obtains a remote reference to one or more remote objects on a serverand then invokes methods on them in an RMI application?
a. Server
b. Client
c. Both A & B
d. None of the above
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
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
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
Q. Which method of the Naming class (found in java.rmi) is used to update the RMIregistry on the server machine?
a. rebind ()
b. lookup()
c. Both A & B
d. None of the above
Q. What is the built on top of the socket programming?
a. EJB
b. RMI
c. Both A & B
d. None of the above
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
Q. In RMI Distributed object applications need to
a. Locate remote objects
b. Communicate with remote objects
c. Load class definitions for objects that are passed around
d. All mentioned above