aspose file tools*
The moose likes Applets and the fly likes Chat application for an server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Chat application for an server" Watch "Chat application for an server" New topic
Author

Chat application for an server

dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
hi everyone,

At present i am working on an application in which we should provide an application of chat for the users who are online. can any one please guide me regarding this application. Like how to dvelop it and from where we can have a sample code for it..



dattathreya
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41472
    
  51
So the client should be an applet? You also need a server; a servlet container like Tomcat would do, or you could create a standalone server application (especially if you aren't going to be using HTTP ).

You may want to familiarize yourself with socket communication. Or did you have other ideas about client/server communication?


Ping & DNS - my free Android networking tools app
dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
yes i am using Tomcat server.
i jst want the chat application to be a part of the application just like the gmail chat ..
How i should start up.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41472
    
  51
Gmail chat doesn't use applets; it uses HTML and JavaScript. If that's what you want, start looking into AJAX and the JavaScript XMLHttpRequest object. The JavaScript FAQ has some links around that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Chat application for an server