users@glassfish.java.net

Re: Threadpool in Glassfish

From: <forums_at_java.net>
Date: Sun, 19 Jun 2011 05:16:19 -0500 (CDT)

Yes, that is the first of two steps.

 

But in this timer, i will check crons, whether it is time to run each cron.

if it is, i will place a thread for each cron to run it. i dont want to
executre

crons in timer, because some tasks are long running.

 

i can use a static ExecutorService for this, but i want to know if there is a
builtin

soluition. for ex. an already created thread pool.


--
[Message sent by forum member 'yavuzkavus']
View Post: http://forums.java.net/node/812605