954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Chat program

Hi,
I would like to create a simple chat program. Could you advice me which Java technology should I best look at. I did a tutorial from sun.com about Socket programming. Do I use this for such a simple chat program and if yes, how do I connect two clients. Thank you in advance if you give me advice which part of Java should I read or any nice and simple tutorials (Java novice).

Cheers :eek:,
greywolf

greywolf
Newbie Poster
5 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Yes, you will need networking code and thus sockets (or RMI, but that's built on top of sockets).
You'll also need multithreading, and some user interface technology (most likely Swing).

Learn each separately, then try combining them.
The code required is non-trivial, best get a good book on Java network programming to get you started (the Swing part is secondary to a good communications layer, which should function independently of that user interface).

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You