RMI Objective Questions

RMI Objective Questions - INTERNATIONAL INSTITUTE OF...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY P-14, Pune Infotech Park, Hinjawadi, Pune – 411 027 RMI Marks: 50 Duration: 1 hour Select the correct option(s): a. RMI facilitates communication between: b. 2 Java programs c. 2 JVMs d. 2 Machines Correct answer: b e. Which of the following acts as a DNS service for the implementation class objects? f. Web server g. Application server h. RMI Registry Correct answer: c i. Which of the following is the tool used to generate the stub and the skeleton? j. javac k. RMI Registry l. rmic Correct answer: c m. The process of transmission of parameters passed to a remote method from client to server and vice-versa is called: n. Encoding – decoding o. Parsing p. Marshalling – Unmarshaling Correct answer: c q. How does the client know about the functionality accessible using the remote object. r. Using the implementation class code present on client s. Using stub t. Using skeleton Correct answer: b u. Every method in the remote class should throw: v. UnicastException. w. RemoteObjectException x. RemoteException Correct answer: c y. The lease time is controlled by the system property: z. java.rmi.dgc.leaseValue aa. rmi.leaseValue bb. rmi.dgc.leasePeriod Correct answer: a cc. The default value of the lease period is: 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
INTERNATIONAL INSTITUTE OF INFORMATION TECHNOLOGY P-14, Pune Infotech Park, Hinjawadi, Pune – 411 027 dd. 10 MINS ee. 20 MINS ff. 15 MINS Correct answer: a gg. Which is the java tool is used to create a policy file? hh. Policy.exe ii. Policytool.exe jj. Policyfile.exe Correct answer: b kk. In order to specify the codebase of the RMI program the command is: ll. javax.rmi.server.codebase mm. rmi.server.codebase nn. java.rmi.server.codebase Correct answer: c oo. For running a RMI program TCP/IP should be active only on the host. pp. True qq. False Correct answer: b rr. The registry is a continuously running process on the host ss. True tt. False Correct answer: a uu. Corba supports language independent distributed computing, while RMI supports distributed computing using Java only vv. True ww.False Correct answer: a xx. Stubs and skeletons are to be written by the programmer.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern