944,185 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3535
  • Java RSS
Jul 17th, 2007
0

anyone who know how to develop a messenger?

Expand Post »
i'm a student and not very good in java programming language.
my lecturer had asked me to develop a simple messenger that have basic features like chat, transfer file, add friend and so on.. anyone here can help me and give me the coding or explain to me how to do it?
thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
missfidz is offline Offline
4 posts
since Jul 2007
Jul 17th, 2007
0

Re: anyone who know how to develop a messenger?

Get a book from school library Java How to Program 6th edition from Deitel and read chapter 24. That will give you an idea where to start
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 875
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Jul 17th, 2007
0

Re: anyone who know how to develop a messenger?

Me and a friend of mine developed two chat programs as thought experiments into threading when we were first starting out in Java.

The first was a console based program that used processor threading to read/write to a text file stored over a shared network drive. It had simple admin functions such as ban/silence/clear file and was a fantastic example of learning the client-server relationship.

You can download that program here:
http://www.gamegeneration.net/forums...4&postcount=13

You can use that to get some ideas on how you could handle some of the functionalities that you want to.



The second program was more similar to what you were wanting to write. It had a simple gui, sent messages over the internet like a program such as AIM would, and could add/delete people off a friends list stored in an XML file.

I'm sorry I don't have a copy of that program to show you, but it can be done using Java's connectivity classes in a fairly small size.
Reputation Points: 22
Solved Threads: 10
Junior Poster
TheGathering is offline Offline
102 posts
since Jul 2007
Jul 18th, 2007
0

Re: anyone who know how to develop a messenger?

thanks for the advice and explaination..i will get back and try and read the info..if i still don't understand i will ask later..but if u have any new info do let me know..thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
missfidz is offline Offline
4 posts
since Jul 2007
Jul 18th, 2007
0

Re: anyone who know how to develop a messenger?

I agree with thegathering, the best way to make a chat program is usually to write inputted lines to a .txt file. This not only works very smoothly but can also be tooled to archive chat lines as well. Good luck!
Reputation Points: 86
Solved Threads: 2
Junior Poster
venomlash is offline Offline
143 posts
since Oct 2006
Jul 19th, 2007
0

Re: anyone who know how to develop a messenger?

ok. but actually i still don't get a picture on how to start my project.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
missfidz is offline Offline
4 posts
since Jul 2007
Jul 19th, 2007
0

Re: anyone who know how to develop a messenger?

Click to Expand / Collapse  Quote originally posted by missfidz ...
ok. but actually i still don't get a picture on how to start my project.
What are your requirements specifically? Does it have to be over internet? What functions must it have? Does it have to have a GUI?

Start with a list of requirements and work on design from there.
Reputation Points: 22
Solved Threads: 10
Junior Poster
TheGathering is offline Offline
102 posts
since Jul 2007
Jul 24th, 2007
0

Re: anyone who know how to develop a messenger?

as i said before, it must have the basic features juz like send and receive msg(chat), add friends( require login)..em..of course it will have GUI like any other messenger..it does not specifically have to be on the internet but if i manage to develop it, it will be used on LAN in my faculty..can i use jave xml to the develop this..?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
missfidz is offline Offline
4 posts
since Jul 2007
Jul 24th, 2007
0

Re: anyone who know how to develop a messenger?

>can i use jave xml to the develop this
Can you justify why do you need to use XML and how you intend to use it?
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 875
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Jul 24th, 2007
0

Re: anyone who know how to develop a messenger?

XML simply describes data, you can't write a program with it. But you can do your communication through XML sent over your connected clients. If you're interested in using XML with chat clients, take a look at the Jabber protocol.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004

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.
Message:
Previous Thread in Java Forum Timeline: how to program parallel port
Next Thread in Java Forum Timeline: making multiple files





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


Follow us on Twitter


© 2011 DaniWeb® LLC