• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

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
0
deeppra
Asked:
deeppra
  • 4
  • 4
1 Solution
 
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
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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:
>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:
I think I should get some points here.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now