users@jersey.java.net

Re: Jersey request handling

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Thu, 11 Nov 2010 09:56:56 -0800

On Wed, Nov 10, 2010 at 4:21 PM, DaHoopster <hwang_at_myvest.com> wrote:
>
> Hi,
>
> I am wondering how jersey is handling requests. Does jersey start a new
> thread per request or does it have a thread pool for requests?
>
> I am investigating into having a pool of threads to handle requests instead
> of a new thread per request. If this is configurable in Jersey, please point
> me in the right direction.

I think Jersey just uses thread that servlet container provides; and
all modern containers have thread pools.

What are you trying to solve with a custom pool?

-+ Tatu +-