>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

The Grizzly Comet or why space shuttle Discovery launch was delayed - cometcontext posted handler comet public comethandler cometengine cometresponsehandler

 
Registered tutorials: 501
Registered Users: 33126



Rating: 0 out of 0 votes cast


  
Category: Ajax and Java

Tags Map

add added adding affonso ajax aloyola api app application appserver arp august avoid based bbb blog bound browser build call called calling case chat class client clients close code comet cometcontext cometcontextnotify cometengine cometengineregister cometevent comethandler cometresponsehandler comments communication component connection context contextpath created data delay delayed details discovery domainxml dont easy engine event exception expiration feedback find fix francois glassfish greg grizzly handler happening http httpservletresponse implement implementation import important init instance int invoked ioexception issue java javalangillegalstateexception javanet jean jeanfrancois jfarcand jmaki josh joshgord listener main means message metacontext method nio notification notify object october onevent oneventcometevent oninitialize oninitializecometevent oninterrupt oninterruptcometevent onterminate onterminatecometevent output path pm polling post posted printwriter private problem project property public quick receive received register registered request requests response seconds secure send september server servlet servletexception servletinit set shuttle site space start starting strange string support systemoutprintln tcp test thread threads throws time timeout times top type underlying updated user userid void web work working

Keyword Cloud Navigation Map

The Grizzly Comet or why space shuttle Discovery launch was delayed

Digg this   Post to del.icio.us

Abstract: Tutorial discusses the new Comet support in Grizzly (sometimes called request polling, http streaming or continuation), build on top of Grizzly's Asynchronous Request Processing(ARP)

 Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request for it. It allows creation of event-driven web  applications which are hosted in the browser. 
After I've blogged about ARP, I've started defining some Comet APIs on top of it. I was waiting for free time to define the perfect API. I think I was dreaming....I will never have free time with Grizzly! Since Comet Request processing is more and more popular (Jetty supports it for a while, Tomcat just have a fresh implementation...and a new NIO based connector (finally!!!), and GlassFish have ARP), I've decided to make available my own implementation. I didn't update my implementation based on Greg Wilkins' proposal, but hey, this is build on top of ARP and once the Servlet EG approves Comet support, it will be easy to implement it.

The next couple of paragraphs will introduce the API. I did the famous Chat implementation using jMaki, and will soon publish it once Greg reviewed my modifications to his jMaki application :-)

Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 204
Unique Hits: 185


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.1 0.1 0.7 0.7 5.4 5.6
Current 0 0 0 0 0 0
Previous 0 0 1 1 3 3
Nov 29 0 0 2 2 11 11
Nov 28 0 0 0 0 9 10
Nov 27 0 0 0 0 2 2
Nov 26 0 0 0 0 10 10
Nov 25 1 1 0 0 7 8
Nov 24 0 0 0 0 0 0
Nov 23 0 0 2 2 5 5
Nov 22 0 0 2 2 7 7
Highest 3 4 8 10 19 22


Script Execution Time: 0.52895 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2