Java for Distributed Computing
Multithreading
Using Threads
Threads with pause and resume
Producer/Consumer one-element buffer with no synchronization
Producer/Consumer one-element buffer with synchronization
Producer/Consumer array buffer with synchronization
Streams and I/O
Create a Sequential File (of bytes)
Read a Sequential File (of bytes)
Read and Write a Sequential Text File, buffered
System.in and System.out
Concatenate Files
Using the File class to get information about a file or directory
File Dialog box
Use StreamTokenizer to read and parse data from a file and display in a textarea
Similar example with StreamTokenizer but using a canvas to display the data
Applet reading a file from a URL input stream
Applet reading a file from a URL Connection input stream
Networking with Sockets
SocketTest.java
is a client that connects to a date server.
EchoServer.java
is a server that echoes lines for one client.
ThreadedEchoServer.java
is a server that echoes lines for multiple clients.
EchoClient.html
is a client applet connects to either echo server.
DataServer.java
is a simple server with a class to synchronize accesses to data.
DataClient.html
is a client applet that connects to the data server.