1 / 12

Pushlets Introduce

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.

gomer
Download Presentation

Pushlets Introduce

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pushlets Introduce A comet framework Zhang Haipeng 2011-4-10

  2. Index • Comet • Pushlets • Applications • Other…

  3. 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.

  4. HTTP

  5. 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

  6. Publish/Subscribe

  7. How to use pushlets??-- integration with your web app • Add pushlets.jar to your classpath • Add javascript to you web app • Config web.xml

  8. How to use pushlets??-- message receiver

  9. How to use pushlets??-- send msg with javascript

  10. How to use pushlets??-- send message with Java

  11. How to use pushlets??-- send message with java

  12. Displayer javaScript API

More Related