When to Use RMI
RMI is applicable in situations in which local applications require services or methods available from remote locations.
You should use RMI in Java-to-Java architectures; that is, your local applications and the remote methods you want to invoke are both coded in Java. This strategy has the benefits of Java's inherent code portability and WebLogic's built-in security model, efficient garbage collection, thread management, and WebLogic Server's optimized t3–protocol-driven communications.
You should use RMI-IIOP in architectures if your local Java application must interface with applications coded in other languages. This strategy adds a degree of robustness and flexibility to your application.
If your applications are CORBA, you should create interfaces using IDL and implement Java client and server-side classes for deployment on your WebLogic Server 8 series server.
|