What is the difference between creating a distributed application using RMI and using a EJB architecture?

devquora
devquora

Posted On: Dec 07, 2022

 

The difference between creating a distributed application using RMI and using an EJB architecture is as follows:

 

S. N.JavaTM RMI technologyEnterprise JavaBeansTM technology
1You can use Java RMI technology to enable communication between Java objects on different virtual machines and different physical machines.Enterprise JavaBeansTM (EJBTM) technology is part of the Java 2 Platform, Enterprise Edition.
2You can use Java RMI technology without its IIOP option leverages its strengths of code portability, security, and garbage collection.Enterprise JavaBeans components use the Java RMI/Java IDL technology for their distributed object model. It also uses the Java Transaction Service (JTS) for its distributed transaction model.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Weblogic Interview Questions

    How does a server know when another server is unavailable?

    WebLogic Server monitors socket errors to check the availability of a server instance. As an example, if server instance A1 has associate degree open socket to server instance B1, and also the socket ...

    Weblogic Interview Questions

    How can I set deployment order for applications?

    You can set the deployment order of a Startup class, follow the instructions in Configure startup classes....

    Weblogic Interview Questions

    How do stubs work in a WebLogic Server cluster?

    Clients that are connected to a WebLogic Server cluster obtain a replica-aware stub for the object. This stub contains the load balancing logic for distributing the load among its host servers. The st...