944,147 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 11716
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 26th, 2006
0

Java instant messenger

Expand Post »
Hi
I want to program a IM in java, but I don't know where to start. I can't find information on the net about IM programming. Could anyone please help me, I'm lost. I want to hopefully get the IM working from pc to mobile phone and vice versa. Any information that would get me started will be appreciated.
Thanks
Similar Threads
Reputation Points: 12
Solved Threads: 0
Junior Poster in Training
tygerberg is offline Offline
57 posts
since Oct 2006
Oct 26th, 2006
0

Re: Java instant messenger

Search for tutorials on using Sockets and SocketServers. I'd give you a link to one I have bookmarked but I seem to currently be locked out of my own desktop.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Oct 29th, 2006
0

Re: Java instant messenger

Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Jun 21st, 2008
-1

Re: Java instant messenger

Hi all i have a one big problem. How to do messenger server ? ! . I'm not sure using thread becouse thread is limited and performance ! Please help you solution
Reputation Points: 6
Solved Threads: 0
Newbie Poster
mdbyambaa is offline Offline
1 posts
since Jun 2008
Jun 21st, 2008
0

Re: Java instant messenger

do your own homework, thread hijacker.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Jun 22nd, 2008
0

Re: Java instant messenger

Edited: Oh, I didn't realize earlier that this thread was as old one.

I'd done PC to PC IM earlier. For that, you'll have to use socket programming, multi threading, exception handling and AWT. If you know all these topics, then post your specific problem and you'll get help.
Last edited by Jishnu; Jun 22nd, 2008 at 2:18 pm. Reason: Realization!!
Reputation Points: 193
Solved Threads: 25
Posting Pro
Jishnu is offline Offline
518 posts
since Oct 2006
Mar 24th, 2009
0

Re: Java instant messenger

So, question on the connection... Since I imagine sockets in java just send plain text, what is the best way to secure the connection? I am curious for log-ins.
Sending the password in plaintext doesn't seem like a great idea, and hashing it in the client and sending the hash to the server seems equally bad. Is it best to just encrypt the password string, send it over, then decrypt it?
What do you suggest?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dkerber is offline Offline
2 posts
since Mar 2009
Mar 24th, 2009
0

Re: Java instant messenger

I don't know if this helps but you could use JXTA (p2p via java) OR when I was in need of a chat system I used PIRC a java api for making IRC bots, works just as well making a chat system when integrated with a gui. here is the link http://www.jibble.org/pircbot.php
Reputation Points: 10
Solved Threads: 4
Junior Poster
PhiberOptik is offline Offline
164 posts
since May 2008
Mar 24th, 2009
0

Re: Java instant messenger

What I am working on is not strictly a chat program, but the same ideas apply. Because of this, I need to log into a server from the client just as an instant messenger would.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dkerber is offline Offline
2 posts
since Mar 2009
Mar 25th, 2009
0

Re: Java instant messenger

Click to Expand / Collapse  Quote originally posted by dkerber ...
What I am working on is not strictly a chat program, but the same ideas apply. Because of this, I need to log into a server from the client just as an instant messenger would.
Ah, well good luck. I designed a chat program so i can do off-site tech support, it includes everything from file transfers, remote desktop, and soon voice =) all over jxta
Reputation Points: 10
Solved Threads: 4
Junior Poster
PhiberOptik is offline Offline
164 posts
since May 2008

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: Need to Convert Signed Hex to short
Next Thread in Java Forum Timeline: Save text area thing in Text File...





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


Follow us on Twitter


© 2011 DaniWeb® LLC