users@grizzly.java.net

[FYI] Renamed examples -> samples, easy way to run war/comet examples

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 03 Apr 2008 19:04:58 -0400

Hi,

I've renamed the grizzly/trunk/examples to grizzly/trunk/samples and
added new Comet examples. All those examples can be run using:

java -jar grizzly-[comet|cometd|grizzlet] -p [port] -a [application
folder|war|jar] Servlet|Grizzlet_Name

Where Servlet|Grizzlet_Name is the full qualified class name of your
Servlet or Grizzly implementation, or null if you are using Cometd.

ex

% java -jar grizzly-cometd-1.7-SNAPSHOT.jar -p 8080 -a
/appserv80/grizzly/trunk/samples/comet/comet-chat/target/grizzly-cometd-chat.war


or

% java -jar grizzly-cometd-1.7-SNAPSHOT.jar -p 8080 -a
/appserv80/grizzly/trunk/samples/comet/comet-chat/target/grizzly-comet-chat.war
com.sun.grizzly.samples.comet.AjaxCometServlet

Thanks

-- Jeanfrancois