Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Chat application for an server

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..

 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
dattathreya bonakurthi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 didn't say it. I'm just telling you what this tiny ad said.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic