120 likes | 248 Views
Pushlets Introduce. A comet framework Zhang Haipeng 2011-4-10. Index. Comet Pushlets Applications Other…. What is Comet?. Comet is a web application model in which a long-held HTTP request allows a web server to PUSH data to a browser, without the browser EXPLICITY requesting it.
E N D
Pushlets Introduce A comet framework Zhang Haipeng 2011-4-10
Index • Comet • Pushlets • Applications • Other…
What is Comet? • Comet is a web application model in which a long-held HTTP request allows a web server to PUSH data to a browser, without the browser EXPLICITY requesting it.
Pushlets • An Free and Open Source HTTP-basedpublish/subscribe framework. • Pushlets are a servlet-based mechanism where data is pushed directly from server-side Java objects to HTML pages within a client-browser without using Java applets or plug-ins. This allows a web page to be periodically updated by the server
How to use pushlets??-- integration with your web app • Add pushlets.jar to your classpath • Add javascript to you web app • Config web.xml