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:,

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).