Simple Client Server
Applications and Applets in Java

 

Each of the following is an example of a simple Java server with a client that could be an applet or an application. Here they are all applets.

 

Dog Server: On the internet, nobody knows you're a dog. A simple multi-part conversation.

 

Count Server: A simple page counter. The count is saved in a file on the server side.

 

Chat Server. A simple four person chat server. Illustrates threading and broadcasting.

 

Comment Blogger. A simple server that remembers and displays visitor comments. Reads and writes a file on the server side.

 

The servers on these pages may not be running, but if they are, you can try them out. The source code is available from the individual pages.

 

Last Updated: April 9, 2002