LittleChat


[Description]   [Instructions]   [Java Source]   [Dave's Home Page]   [Next Demo]


Disclaimer

This LittleChat server is temporarily unoperational, because of difficulties with our firewall. It's been tested, and works either within or outside the firewall, but not across it. We're working on an arrangement to sidestep this issue, but it's not a high priority right now...


Instructions

As soon as LittleChat finishes loading, you'll be presented with a dialog box, asking you to enter a user name. Your user name can include any characters except for the vertical bar (|) character.

Once you've entered your user name, you're ready to chat. Enter text in the bottom window, and hit either the SEND button or the RETURN key to send your message. Messages may include any characters, but can only be one line long.


You are using a browser that is not enabled to view Java applets. In order to view this applet, you need a Java-enabled browser, such as Netscape 2.0 for Windows 95/NT/UNIX, or Netscape 3.0 for the Macintosh. Just so you don't feel too left out, however, here's a snapshot what the applet looks like when it's running.


[Top]   [Description]   [Instructions]   [Java Source]   [Dave's Home Page]   [Next Demo]


Description

LittleChat is an all-Java Web chat program. Not only is the chat client a Java applet running on a Web page, but the chat server is itself a Java application. Because of the networking support built into the Java language, this program works without requiring access to the cgi-bin directory. Any user that can run programs on the Web server machine can run the chat server application, embed the client applet into a Web page, and have the whole thing set up and running in minutes.


[Top]   [Description]   [Instructions]   [Java Source]   [Dave's Home Page]   [Next Demo]


Java Source Files

ChatCodes.java
LittleChat.java
Message.java
Server.java
StreamPump.java


[Top]   [Description]   [Instructions]   [Java Source]   [Dave's Home Page]   [Next Demo]