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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum