Top 80+ Solved J2EE Technologies MCQ Questions Answer

From 91 to 100 of 100

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

  • c. Both A & B

Q. RMI Architecture consists of how many layers?

a. 5

b. 3

c. 4

d. 2

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

  • a. bind(string name)

Q. 1099 is the default port used by RMI Registry.

a. True

b. False

c. none

d. all

  • a. True

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

  • a. Java Remote Method Protocol (JRMP)

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

  • a. rebind ()

Q. What is the built on top of the socket programming?

a. EJB

b. RMI

c. Both A & B

d. None of the above

  • b. RMI

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

  • a. The Stub & Skeleton Layer

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

  • d. All mentioned above
Subscribe Now

Get All Updates & News