The Source for Java Technology Collaboration
User: Password:



Jean-Francois Arcand

Jean-Francois Arcand's Blog

Getting started with Comet and GlassFish v2

Posted by jfarcand on July 02, 2008 at 09:39 AM | Comments (0)

The Grizzly users list is bombarded with questions about how to start with Comet and GlassFish v2. Here is a quick explanation...

IMG_0317.JPG

GlassFish v2 ships with Grizzly 1.0.20 (not Grizzly 1.8.0) so to easily compile your application, just download 1.0.20, and then make sure your add that jar file to your classpath. That steps should be quite trivial if you are using Netbeans or Eclipse. Then you are ready to write your first Comet application.

Now once you are ready to deploy your application using Grizzly Comet or GlassFish v3, make sure you read this blog. In short, make sure you add the grizzly-compat.jar to your WEB-INF/lib to be able deploy without having to recompile your application against Grizzly 1.8.0.

technorati:


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds