944,052 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 6883
  • Java RSS
Oct 23rd, 2006
0

chat program

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
qwest21 is offline Offline
10 posts
since Oct 2006
Oct 23rd, 2006
0

Re: chat program

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.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Oct 26th, 2006
0

Re: chat program

thanks alot let me try that
Reputation Points: 10
Solved Threads: 0
Newbie Poster
qwest21 is offline Offline
10 posts
since Oct 2006
Oct 29th, 2006
0

Re: chat program

Click to Expand / Collapse  Quote originally posted by qwest21 ...
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 )
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Oct 30th, 2006
0

Re: chat program

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
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
May 12th, 2008
-1

Re: chat program

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..........
Reputation Points: 7
Solved Threads: 2
Newbie Poster
JeetRaj is offline Offline
10 posts
since Mar 2008
May 12th, 2008
0

Re: chat program

no, we're not going to do your homework for you, thread hijacking homework kiddo.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
May 12th, 2008
0

Re: chat program

Click to Expand / Collapse  Quote originally posted by JeetRaj ...
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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Sep 1st, 2010
-2
Re: chat program
I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java.......
i want the coding guys... please help.....
Reputation Points: 7
Solved Threads: 0
Newbie Poster
thirukeshav is offline Offline
1 posts
since Sep 2010
Sep 1st, 2010
2
Re: chat program
:sigh: No. Closing this zombie now.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in Java Forum Timeline: Server Timeout AND connecting to server from another computer
Next Thread in Java Forum Timeline: Stack Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC