Java for Distributed Computing
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
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
is a client that connects to a date server.
is a server that echoes lines for one client.
is a server that echoes lines for multiple clients.
is a client applet connects to either echo server.
is a simple server with a class to synchronize accesses to data.
is a client applet that connects to the data server.
The materials on these pages are copyright to the
Northeast Parallel Architectures Center
Please send comments to