users@grizzly.java.net

Re: Want to migrate from Tomcat Comet to grizzly comet

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Tue, 08 Feb 2011 14:08:33 -0500

Why not just run glassfish itself? the web profile is reasonably small.

On 2/8/11 1:43 PM, goberman_at_msn.com wrote:
> 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?