Home / CSE MCQs / Java RMI ::

CSE MCQs :: Java RMI

  1. Which of these packages is used for remote method invocation?
  2. A.
    java.applet
    B.
    java.rmi
    C.
    java.lang.rmi
    D.
    java.lang.reflect

  3. A bean consists of general purpose interfaces are:
  4. A.
    Properties
    B.
    Events
    C.
    Methods
    D.
    All of these

  5. An RMI Server is responsible for _______
  6. A.
    Creating an instance of the remote object
    B.
    Exporting the remote object
    C.
    Binding the instance of the remote object to the RMI registry
    D.
    All mentioned above

  7. Which of these packages is used for all the text related modifications?
  8. A.
    java.text
    B.
    java.awt
    C.
    java.lang.text
    D.
    java.text.mofify

  9. CORBA is stands for:
  10. A.
    Common oriented request broker architecture
    B.
    Common object request break architecture
    C.
    Common object request broker architecture
    D.
    Common object request broker access

  11. Which of these Exceptions is thrown by a remote method?
  12. A.
    RemoteException
    B.
    InputOutputException
    C.
    RemoteAccessException
    D.
    RemoteInputOutputException

  13. The keywords reserved but used in the initial version of Java are
  14. A.
    union
    B.
    const
    C.
    inner
    D.
    goto

  15. What is the built on top of the socket programming?
  16. A.
    EJB
    B.
    RMI
    C.
    Both A & B
    D.
    None of the above

  17. What are the exceptions which have to be handled in a RMI client program?
  18. A.
    Remote Exception
    B.
    Not Bound Exception
    C.
    Mal Formed URL Exception
    D.
    All mentioned above

  19. Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?
  20. A.
    Stub
    B.
    Skeleton
    C.
    Both A & B
    D.
    None of the above