[Jersey] Re: Reducing boot time for Jersey + Grizzly server

From: Hugo Visser <>
Date: Fri, 1 Apr 2011 18:20:34 +0200

Hi Arnaud,

I was wondering if you are also seeing a speed up in
WebApplicationImpl _initiate? I'm currently using GuiceContainer and I
am explicitly binding the resources in Guice module. Looking at the
code this appears to be the same as passing an Application object.

The large delay in my case appears to be the actual init of the
WebApplicationImpl which takes about 1,5 seconds for our app, running
on appengine. I've been digging through the code trying to find
something to optimize, but didn't get anywhere. It would be great if
the bootstrapping delay could be reduced. Any hints in that area would
be appreciated.


On Fri, Apr 1, 2011 at 2:33 PM, Arnaud Bailly <> wrote:
> Hello,
> I was wondering then how it came it took me a bit of time to figure out this
> is the "best practice" with Jersey. An thought it might be better to
> advocate it as early as possible in the documentation which, AFAI remember
> is mostly oriented towards automatic discovery. A detailed example of wiring
> an applilcation, with resources and providers, might be helpful to get a
> grasp of how best integrate Jersey.
> Best regards,
> Arnaud
> --
> View this message in context:
> Sent from the Jersey mailing list archive at