anyone who know how to develop a messenger?

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

Join Date: Jul 2007
Posts: 4
Reputation: missfidz is an unknown quantity at this point 
Solved Threads: 0
missfidz missfidz is offline Offline
Newbie Poster

anyone who know how to develop a messenger?

 
0
  #1
Jul 17th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
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: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: anyone who know how to develop a messenger?

 
0
  #2
Jul 17th, 2007
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
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: Jul 2007
Posts: 102
Reputation: TheGathering is an unknown quantity at this point 
Solved Threads: 10
TheGathering's Avatar
TheGathering TheGathering is offline Offline
Junior Poster

Re: anyone who know how to develop a messenger?

 
0
  #3
Jul 17th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 4
Reputation: missfidz is an unknown quantity at this point 
Solved Threads: 0
missfidz missfidz is offline Offline
Newbie Poster

Re: anyone who know how to develop a messenger?

 
0
  #4
Jul 18th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 143
Reputation: venomlash is an unknown quantity at this point 
Solved Threads: 2
venomlash's Avatar
venomlash venomlash is offline Offline
Junior Poster

Re: anyone who know how to develop a messenger?

 
0
  #5
Jul 18th, 2007
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!
Beware of the Rancor. I'm not kidding.
If it doesn't compile, try saying "By the power of MegaMan!!!" <this has kinda worked for me, actually...>
Scotland is NOT North Britain, Glasgow does NOT rhyme with "cow", and Robbie Burns is...well, if you don't already know who he was, you're kinda screwed.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 4
Reputation: missfidz is an unknown quantity at this point 
Solved Threads: 0
missfidz missfidz is offline Offline
Newbie Poster

Re: anyone who know how to develop a messenger?

 
0
  #6
Jul 19th, 2007
ok. but actually i still don't get a picture on how to start my project.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 102
Reputation: TheGathering is an unknown quantity at this point 
Solved Threads: 10
TheGathering's Avatar
TheGathering TheGathering is offline Offline
Junior Poster

Re: anyone who know how to develop a messenger?

 
0
  #7
Jul 19th, 2007
Originally Posted by missfidz View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 4
Reputation: missfidz is an unknown quantity at this point 
Solved Threads: 0
missfidz missfidz is offline Offline
Newbie Poster

Re: anyone who know how to develop a messenger?

 
0
  #8
Jul 24th, 2007
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..?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
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: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: anyone who know how to develop a messenger?

 
0
  #9
Jul 24th, 2007
>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?
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: Mar 2004
Posts: 802
Reputation: Phaelax is on a distinguished road 
Solved Threads: 40
Phaelax Phaelax is offline Offline
Practically a Posting Shark

Re: anyone who know how to develop a messenger?

 
0
  #10
Jul 24th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
Other Threads in the Java Forum


Views: 2438 | Replies: 9
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC