J2EE Technologies

Q 1. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

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

(A) EJB
(B) RMI
(C) Both A & B
(D) None of the above
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 3. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 4. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

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

(A) True
(B) False
(C) none
(D) all
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 6. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 7. RMI Architecture consists of how many layers?

(A) 5
(B) 3
(C) 4
(D) 2
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 8. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 9. 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
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

Q 10. Which package is used for Remote Method Invocation (RMI)?

(A) java.lang.rmi
(B) java.lang.reflect
(C) java.applet
(D) java.rmi
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share