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
LVL 5
deeppraAsked:
Who is Participating?
 
rrzCommented:
>Can we create a process on the server as a Chat Server and then use Socket to transfer the data  
You are limited to what you can do at  myjavaserver.com .  I don't think you can do that.  
>but now i want a free domain name  
I don't think anybody is giving them away.
0
 
rrzCommented:
>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/   
0
 
rrzCommented:
I should have said the applet can keep polling the server.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
deeppraAuthor Commented:
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???
0
 
deeppraAuthor Commented:
Yea i have a space in myjavaserver, but now i want a free domain name
0
 
deeppraAuthor Commented:
myjavaserver provide any free domain eg:- www.chat.com etc...
0
 
deeppraAuthor Commented:
This only giving me       http://www.myjavaserver.com/~deeppra as a url but i need some thing like a website address
0
 
rrzCommented:
I think I should get some points here.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.