chat program

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

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

chat program

 
0
  #1
Oct 23rd, 2006
Hi everyone

I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java
My questions are
1. Do i need to have a server installed ina one of the machines.
2. Do i have to run the server side onf the application on the server or can i jusr run either(i.e the client application and the server applcation) on any machine

thanks.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,433
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 258
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: chat program

 
0
  #2
Oct 23rd, 2006
That is a pure personal choice design question. If it is going to be local intranet anyway, you could do simple multicast and let each "client" receive and broadcast the messages themselves, without any kind of a server.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 9
Reputation: qwest21 is an unknown quantity at this point 
Solved Threads: 0
qwest21 qwest21 is offline Offline
Newbie Poster

Re: chat program

 
0
  #3
Oct 26th, 2006
thanks alot let me try that
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,217
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: chat program

 
0
  #4
Oct 29th, 2006
Originally Posted by qwest21 View Post
thanks alot let me try that
mate get copy of Deitel & Deitel JAVA How to Program 6th Edition and look up chapter 24 Case Study (but don't try to cheat your teach will know it )
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
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
  #5
Oct 30th, 2006
Or any of a lot of others. This is a very common example of the networking capabilities of Java used in many programming courses either as an assignment or as a case study.

The fun is figuring it out yourself rather than taking some ready made solution and trying to make it look like something you made yourself
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  
Join Date: Mar 2008
Posts: 10
Reputation: JeetRaj is an unknown quantity at this point 
Solved Threads: 2
JeetRaj JeetRaj is offline Offline
Newbie Poster

Re: chat program

 
-1
  #6
May 12th, 2008
hello peter ..
this side jeet..
peter actully write now i am working on chatting programe.. so i need help about it ...if u have a script related chatting using java.... frowarded me ..
thannx..........
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
  #7
May 12th, 2008
no, we're not going to do your homework for you, thread hijacking homework kiddo.
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  
Join Date: Dec 2004
Posts: 4,217
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: chat program

 
0
  #8
May 12th, 2008
Originally Posted by JeetRaj View Post
hello peter ..
this side jeet..
peter actully write now i am working on chatting programe.. so i need help about it ...if u have a script related chatting using java.... frowarded me ..
thannx..........
As per me original post, get your hands on the book and learn how to do it. Besides I do not have any scripts, but I had long time ago code examples from that book. You can actualy get examples if you register with deitel website. However without book explanation they are useless for beginner and your teacher will find it out
Last edited by peter_budo; May 12th, 2008 at 10:59 am. Reason: typo
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
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