Dear Ranchers,
I am developing a Web Support chat application,for which i was inspired by Gmail messenger which is intregated in browser(AJAX Powered),the archietecure i am using is
For Visitor:IN A
JSP FILE(AJAX)---------calls---------SERVLET
For Operator:APPLET----------calls----------SERVLET
The current issue which is giving me a problem is how should
i update the messages,and what i think is the retrieval process should run in a separate
thread,but as i could not find any code on the net,
i switched to this process
The Problem with this code is this,because the server on which i am running is my own machine,after running this code on IE7,
APACHE
TOMCAT exe(TOMCAT5.exe) CPU usage is shown to be 98%
and after 10-15 seconds the machine finally hangs.
Although the configuration is:
1)AMD 64 X2 3800+(dual core)
2)Asus A8N32-SLI-Deluxe
3)1 GB RAM
What Should I Do To Run The Code Normally,So That it does not hangs the Server,or can anyone suggest a way so that i can retrieve messages and send them without problem,as it happens in Gmail Browser Messenger.
[ November 26, 2006: Message edited by: anand phulwani ]
[ November 26, 2006: Message edited by: anand phulwani ]
[ November 26, 2006: Message edited by: anand phulwani ]
[ November 26, 2006: Message edited by: anand phulwani ]