![]() ![]() The request has the same syntax as a request to invoke an object method in the same (local) computer. An RMI request is a request to invoke the method of a remote object. ![]() Sun calls its object parameter-passing mechanism object serialization. Whenever the company policy changed, it would require a change to a program in only one computer. The user and the company both would save time by catching mistakes early. In reply, that program would send back an object and associated method information that would enable the remote computer program to screen the user's expense account data in a way that was consistent with the latest policy. Sun Microsystems, the inventors of Java, calls this "moving behavior." For example, when a user at a remote computer fills out an expense account, the Java program interacting with the user could communicate, using RMI, with a Java program in another computer that always had the latest policy about expense reporting. The object can include information that will change the service that is performed in the remote computer. RMI is the Java version of what is generally known as a remote procedure call (RPC), but with the ability to pass one or more objects along with the request. RMI (Remote Method Invocation) is a way that a programmer, using the Java programming language and development environment, can write object-oriented programming in which objects on different computers can interact in a distributed network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |