CPSC 559 - Introduction to Distributed Systems
Handouts
Producer/Consumer
procon.zip contains a simple java program with two threads demonstrating the producer and consumer paradigm. Please let me know if there are any problems reading or running the code.
Sockets
socket.zip contains a simple java socket client, and two simple servers. Server1 demonstrates the basic server socket principle, but can only accept one connection at a time. Server2 and Server2Thread use the power of threads to allow the server to accept more connections.
Page Updated: October 20, 2008 at 14:50 MDT