Terms you'll need to understand:
Techniques you'll need to master:
In this chapter, you review the basics of Java Remote Method Invocation (RMI). RMI is how you can call methods on a remote object ”one that is on another Java Virtual Machine (JVM) ”as though that object is local. Before RMI, this process was difficult, but RMI provides a way to invoke objects remotely, even those on different hosts . In this chapter, you build an application that works in local mode and remote mode. In local mode, the client communicates with the database, accessing the database files directly. In remote mode, your application modifies the supplied code in a way that creates a database server. In this remote mode, the client reads and writes to the database over the network. The assignment allows two approaches for communication between the client and the database in remote mode. You can use RMI or serialized objects over Transmission Control Protocol (TCP) socket connections. Both approaches are valid, and your choice does not affect your grade.
|