Link to home
Start Free TrialLog in
Avatar of deeppra
deeppra

asked on

Problem in implementing Chat application

Hai,
         I am developing a chat application using Applet and servlet. i wanted to clear my doubts and also tell me what are the features that can be included to make the chat different from othere chat programs.

      Can we create a servlet with a infinite loop so that it can be used as a server to the chat application and broadcast or send a private message to the members in the chat room???  Tell me whether its a good idea!!!
      Can we make a servlet to run for ever??? Is there any free hosting web site available to host my application???
       Any features that can we implement in this chat program to make a difference???

Thanks
Pradeep D
Avatar of rrz
rrz
Flag of United States of America image

>Can we create a servlet with a infinite loop  
No, but you can have the browser keep polling the server.
>Is there any free hosting web site available to host my application???  
http://www.myjavaserver.com/   
I should have said the applet can keep polling the server.
Avatar of deeppra
deeppra

ASKER

Can we create a process on the server as a Chat Server and then use Socket to transfer the data from the Client Applet to that process and vice versa
But, the free server will allow as to ivoke this and act as a stand allow process???
Avatar of deeppra

ASKER

Yea i have a space in myjavaserver, but now i want a free domain name
Avatar of deeppra

ASKER

myjavaserver provide any free domain eg:- www.chat.com etc...
Avatar of deeppra

ASKER

This only giving me       http://www.myjavaserver.com/~deeppra as a url but i need some thing like a website address
ASKER CERTIFIED SOLUTION
Avatar of rrz
rrz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think I should get some points here.