This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Developing a Chat application in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Developing a Chat application in java" Watch "Developing a Chat application in java" New topic

Developing a Chat application in java

Michael Sam

Joined: Jul 26, 2011
Posts: 3
Hi everyone,
I need to develop a chat application in java which should be similar to a GTalk or Yahoo messenger. Can any one guide me the way to accomplish this.
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

You may download Skype' opensource code and build on top of it as required.

Not many get the right opportunity !
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10744

Welcome to the Ranch.

Have you listed down what all features you require in this chat application? It is always a good idea to start with what one needs to build and then think about how to go about building it.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12999
Start with a whiteboard or BIG sheet of paper and start diagramming the various entities that will be involved and the pathways they will use to exchange data.

You don't have to be as formal as UML - the Unified Modeling Language, but getting the entities diagrammed out will be a big help.

Michael Sam

Joined: Jul 26, 2011
Posts: 3
Actually i need to build an instant messenger for my web site where users can communicate each other. How can i accomplish that. Is using XMPP/Jabber a better option?
If so can anyone guide me in that concern.
Have you checked out Aspose?
subject: Developing a Chat application in java
jQuery in Action, 3rd edition