Chat program

Reply

Join Date: Oct 2006
Posts: 5
Reputation: greywolf is an unknown quantity at this point 
Solved Threads: 0
greywolf greywolf is offline Offline
Newbie Poster

Chat program

 
0
  #1
Jan 22nd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Chat program

 
0
  #2
Jan 22nd, 2007
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).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC