» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Grizzly + COMET

Slide Show Example using Comet, Dojo and Grizzly

ALT DESCR

Comet uses either Streaming or Long Polling to Push Events from the server to the client through a protocol like Bayeux.

Carol's A Comet Slideshow Example... shows, through instructions, screenshots and samples, how to do this using dojo on the client (JavaScript) and Grizzly on the Server on the GlassFish Server. Check it out!

GlassFish: The Aquarium

Official GlassFish Documentation on Comet, Reverse Ajax, Ajax Push

ALT DESCR

You may or may not know that Comet, Reverse Ajax, and Ajax Push are all synonyms and define a way to notify clients from a server. Jean-François has written many fine Comet blog entries, but this GlassFish v3 documentation on Comet is a very well written intro to the Comet paradigm and how to use it inside GlassFish v3 based on the Hidden example.

You may also hear from Jean-François on Comet in a recent interview from this past JavaOne as well as read Ted Goddard's slide deck on IceFaces and Grizzly Comet from last week's GlassFish Day at Jazoon.

The documentation also discusses the pros and cons of HTTP Streaming vs. Long Polling and explains how to code both.

GlassFish: The Aquarium

Bringing Comet to the Masses - Atmosphere

ALT DESCR

I was going to wait until late next week, but I see that JFA's interview at InfoQ is out and the website is visible so no reason to wait. JFA's "free time" left by Alexey's lead role on Grizzly 2.0 is going to be reinvested into a Atmosphere a new project in the GlassFish Community that will focus on Comet.

The project is just starting; the InfoQ article seems roughly accurate although some goal fine-tuning is still happening. I expect JFA will provide a more detailed description in a future blog entry.

GlassFish: The Aquarium

Grizzly 1.8 is Buzzword-Compliant: OSGi, GlassFish v3, GWT, Comet, iPhone....

ALT DESCR

Grizzly 1.8.0 is out and this one has a lot of new material, including GWT support, better OSGi Compliance, improved Comet Support, improved performance, SPI cleanup and many more (see JFA's note).

Grizzly 1.8.0 has already been pushed into the latest GFv3 builds. Also see the Release Thread and the complete ChangeLog.

Congrats to JFA, Oleksiy, and the rest of the team and community.

GlassFish: The Aquarium

Jean-Francois Arcand's Blog: Upcoming ICEFaces/Grizzly/Comet talks in Canada

Upcoming ICEFaces/Grizzly/Comet talks in Canada. See http://blogs.sun.com/theaquarium/entry/more_osgi_from_glassfish_grizzly

GlassFish: del.icio.us/tag/glassfish

Hands-on comet blog entries

CometWest

Shin Wai Chan has a nice set of blog entries ([1], [2]) on Comet (aka AJAX Push). He goes on to describe the code on both the client and the server and provides a link to a ready-to-use archive. The second part refines the introduction by describing the use of HTTP streaming.

Although they are documented with an earlier version of GlassFish v3, they apply equally to the latest TP2 promoted build provided you start GlassFish with this http-listener property in domain.xml:
     <property name="cometSupport" value="true"/>

Comet is not Ajax, it's not polling, and it's not traditional servlet either. This set of short articles is a good way to grasp the Comet paradigm.

Update: Jim has a refined version of Shin's example.

GlassFish: The Aquarium

Asynchronous Request Processing(ARP)

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

GlassFish: del.icio.us/tag/glassfish

NOTD - Comet and Grizzly slides posted

Radio Receiver Icon

Jean-François "Grizzly" Arcand has posted two slide decks he used last month during his European tour :

• Grizzly (covers basics, use in GlassFish V3, and the recent 1.7 release)
• Comet, aka Ajax Push (if you ask Jean-François, it's the best thing since slided bread, and who knows, he may be right :)

GlassFish: The Aquarium

Grizzly Comet and IceFaces driving your presentation slides

ICEfaces logo

Interesting Comet use-cases seem to be popping up on a regular basis. This time around IceFaces' Ted is showcasing the WebMC sample application to host a slide presentation over the internet. You can host your own infrastructure (maybe a great new feature for java.net) and check a demonstration here.

In the latest version of this fully-documented-but-not-yet-final software, the interesting part is the use of Grizzly Comet to scale to a very large number of connections without killing the server with threads (ARP at work here). Unfortunately, I don't believe Skype scales as well in the number of simultaneous connections. Does anyone have a suggestion for an alternate solution for a one-to-many broadcast? A streaming solution maybe...

Get the previous ICEfaces coverage here: [1], [2]

GlassFish: The Aquarium

Page 1 | Next >>