Copyright ©1996-1998 by Axel T. Schreiner.  All Rights Reserved.



6
Client-server programming

This section introduces the packages java.net and java.rmi that are used to access things across the internet. [There should be one more section, devoted to the class URL ].

Topics
6-1 Sockets 227
6-2 A ``database'' on the web 241
6-3 Distributed objects 243

Classes and interfaces

The package java.io contains classes to read and write objects from a stream:

Serializable

The package java.net contains classes to directly access sockets or to access objects that can be addressed using Universal Resource Locators (URLs).

DatagramPacket
DatagramSocket
InetAddress
ServerSocket
Socket
URL

The package java.rmi and some subpackages contain classes to distribute Java objects across several programs and share their use. Some tools help: rmic in generating and compiling the sources and rmiregistry in distributed operation.

Naming
Remote
RMISecurityManager
UnicastRemoteObject

12/May/1998