RMI & EJB, provides services to access object running in another JVM - RMI

Q.  RMI and EJB, provides services to access an object running in another JVM (known as remote object).
- Published on 21 Jul 15

a. True
b. False

ANSWER: True
 

    Discussion

  • Aanchal   -Posted on 25 Apr 16
    very helpful and guiding
  • Nirja Shah   -Posted on 14 Dec 15
    - Both RMI and EJB, provides services to access an object running in another JVM (known as remote object) from another JVM.
    - The differences between RMI and EJB are given below:

    RMI
    - In RMI, middleware services such as security, transaction management, object pooling etc. need to be done by the java programmer.
    - RMI is not a server-side component. It is not required to be deployed on the server.
    - RMI is built on the top of socket programming.

    EJB
    - In EJB, middleware services are provided by EJB Container automatically.
    - EJB is a server-side component, it is required to be deployed on the server.
    - EJB technology is built on the top of RMI.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)