Java and Remote Method Invocation
In the last chapter we looked at some of the concepts underlying distributed applications — one of them being the ability to communicate between various parts of the distributed application. Java has a number of ways in which such communication can be achieved, including socket communication, CORBA-based communication and Remote Method Invocation (or RMI). Indeed, RMI is surprisingly simple to use and may well be preferable to sockets for Java to Java communication. This is because the resulting software is simpler and easier to maintain than using sockets. For example, a distributed software system resembles a software system executing within a single virtual machine except for the addition of one line to a client and two lines to a server!
KeywordsServer Class Remote Server Server Object String Query Remote Object
Unable to display preview. Download preview PDF.