1、-9- 外文原文 APPENDIX A Understanding Java Remote Method Invocation (RMI) Java Remote Method Invocation (RMI) is the Java languages native mechanism for performing simple, powerful networking. RMI allows you to write distributed objects in Java, enabling objects to communicate in memory, across Java Vir
2、tual Machines, and across physical devices. RMI is an alternative to using CORBA, the Object Management Groups distributed object architecture. How do the two compare? Its becoming tougher and tougher to draw the line. In fact, neither RMI nor CORBA is clearly a superior technology. Historically, RM
3、I has had several distinct advantages over CORBA. For example, RMI provides almost seamless, simple, transparent integration into the Java language itself. The overhead cost of developing an application that uses RMI is very low. RMIs strength lies in ease of use, and it has had great appeal to soft
4、ware developers who want to focus on the business logic of their code and leave the networking to RMI. By way of comparison, CORBA has historically been well suited for enterprise applications. CORBA provides a cross-platform, cross-language architecture. CORBA also provides a full suite of enterprise features, such as transactions, security, and persistence. The Internet Inter-Orb Protocol (IIOP), a robust protocol for distributed object communications, is used behind the scenes in CORBA. N