users@glassfish.java.net

Re: Difference Between http-thread-pool1 and thread-pool-1 And Its Impact On Spring Applications

From: Cheng Fang <cheng.fang_at_oracle.com>
Date: Mon, 04 Jul 2011 09:53:38 -0400

On 7/3/11 6:49 PM, Horacio Natyural wrote:
> Hi There,
>
> I would like to ask what the difference is for http-thread-pool and
> thread-pool-1 in Glassfish.

They are created and managed separately for different purpose. One is
for web module and the other is for remote ejb invocation and connector
connection.
> I'm currently developing a Spring
> Application and I was wondering if thread-pool-1 is used at all. I'm
> not using any EJB's or remoting tools btw.
>
> Also, the default max-thread-pool count of http-thread-pool1 is quite low
Not sure if it's configurable, probably not?
>
> I don't use EJB btw, will Spring use thread-pool-1 at all?
No.

-cheng
>
> Thanks Horacio