users@grizzly.java.net

Re: Re: Want to migrate from Tomcat Comet to grizzly comet

From: <goberman_at_msn.com>
Date: Tue, 8 Feb 2011 18:43:47 +0000 (GMT)

Alexey, I looked at docbook documentation last week. It shows how to
run a standalone Java sample that is configured to listen on port 80
for incoming connection requests.
I am looking for a way to integrate grizzly with a "servlet container",
like Tomcat (or Glassfish) and I am struggling to fund any
documentation addressing it.
It should confirm to the following requirements:

1) Server port should be configured in the "servlet container", not in
grizzly. Grizzly should be "plugged into" container.
2) I should be able to serve both static web pages and handle HTTP
Comet requests via Grizzly on the same server port. This is what
Tomcat/Comet allows me to do now. I do not want to serve web pages on
port X and Grizzly requests on port Y.

Any chance of a quick guide on how to accomplish it? Or it is not
possible?