2.8. Summary

RMI is a general term for any scheme that allows distributed objects to call methods on one another, passing arguments and accepting return values. Ideally an RMI scheme should be transparent to both the caller and the called object. The use of stubs (on the caller side) and skeletons (on the called side) helps to accomplish this. A number of RMI schemes are available to the Java developer, which use well-defined protocols to pass arguments and return values, as well as to propagate exceptions from the called object to the caller. The all-Java JRMP protocol is supplied with the Java JDK, but has limitations that make it less than ideal for enterprise applications. CORBA’s IIOP overcomes these limitations, at the expense of increased ...

Get Applied Enterprise JavaBeans™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.