July 2001
Intermediate to advanced
320 pages
5h 46m
English
Introduction—Writing the server—Implementing remote interface methods—Threads, sockets, and ports—the Unreferenced interface—Building the server—Foundation classes—Serialization—Alternative server classes—Exercises
The simplest form of RMI server is the “unicast” server. This chapter describes how to write and build such servers. Along the way, it provides general information about implementing remote interfaces, sharing sockets and ports, and using the Unreferenced interface. Finally, we discuss the classes RemoteObject and RemoteServer—foundation classes applicable to all RMI servers—in §7.8. For more advanced server types, see Chapter 10, Chapter 14, and Chapter 17.
In object-oriented ...
Read now
Unlock full access