This section uses the Hidden Frame example application to demonstrate how to develop a Comet application. The main tasks for creating a simple Comet-enabled application are the following:
Developing the Web Component, such as a servlet to support the Comet requests and a Comet handler to send updates to the client
Creating the Client Pages, one or more HTML pages that include some client-side technology to open an asynchronous connection to the server and to receive updates from the web component
Creating the Deployment Descriptor, which configures the web component