Presentation on theme: "Remote method invocation. Introduction First introduced in JDK 1.1. Allows distributed Java programs to work with each others by behaving as if they are."— Presentation transcript:
Introduction First introduced in JDK 1.1. Allows distributed Java programs to work with each others by behaving as if they are not distributed programs.
Writing RMI services A remote methods are declared explicitly in the interface, RMI interface definition The interface should extend the Remote interface. In order to write a simple RMI application Follow following steps: –Write the Java RMI interface definition for the application with the specified operations. –Implement the interface. – implement the server application, who is responsible for remote object registration. –Design and implement a Client which invokes the server to invoke remote methods, the client should do the following: Locate the remote objects Link to the remote objects
Your consent to our cookies if you continue to use this website.