Summary

Although Java has always been a network-centric language, with applets running on Web browsers since version 1.0, the topics covered today show how the language is extending in two directions.

Object serialization shows how objects created with Java have a lifespan beyond that of a Java program itself. You can create objects in a program that are saved to a storage device such as a hard drive and re-created later, long after the original program has ceased to run.

RMI shows how Java's method calls have a reach beyond that of a single machine. By using RMI's techniques and command-line tools, you can create Java programs that can work with other programs no matter where they're located, whether in another room or another continent.

Although ...

Get Sams Teach Yourself Java 2 in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.