Chapter 13. Remote Method Invocation


This chapter examines the Java Remote Method Invocation (RMI) APIJava's native scheme for creating and using remote objects. Java RMI provides the following elements:

  • Support (API and runtime) for remote object implementations

  • Support for client interfaces, or stubs , to remote objects

  • A remote object registry for finding objects on the network

  • A facility for automatically creating (activating) remote objects on demand

  • A network protocol for communication between remote objects and their clients

Each of these elements has related Java interfaces within the java.rmi package and its subpackages and runtime support for the feature as part of the JVM services. Using these interfaces and runtime services, you can develop remote objects and the clients that use them as part of a distributed application that resides on hosts across the network.



Java Enterprise in a Nutshell
Java Enterprise in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596101422
EAN: 2147483647
Year: 2004
Pages: 269

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net