title: Java Multi-Client Instant Messenger concept help
body: <p>I am try to implement a Java chat program. In this program multiple clients will talk to each other via a server. The server will relay messages from on client to another. It will also provide updates to a buddy list.  Conceptually what would be the best route to take to implement this IM chat. The part I am having trouble with is making the server relay messages from one client to another. Each client should also be able to choose who they want to talk to.Once again the only purpose of the server is to take messages from one client and send it to another client. If one client is connected to the server nothing happens till another client connects. Then both clients begin to communicate to each other.</p>