Chat Application using Servlet
1 posts in topic
Flat View  Flat View

Posted By:   Abhi_Antony
Posted On:   Monday, October 7, 2002 02:30 AM

How can we make a chat application using servlet.what i want is that there is a link in our web site and if anyone click on that link a live agent will come and chat with the visitor.We have to store the entire chat transcripts, visitor details and others.

thanks in advance

Re: Chat Application using Servlet

Posted By:   Lasse_Koskela  
Posted On:   Monday, October 7, 2002 07:26 AM

You've got two possible approaches.

The first one is to develop a servlet/JSP page which refreshes every now and then (using HTML headers).

The second one is to develop an applet (delivered along with a HTML response), which talks with a centralized chat server.

I would suggest the latter one, as the responsiveness is much better and the implementation is easier as you're not tied to the basic HTTP request-response communication.

About | Sitemap | Contact