users@glassfish.java.net

Threadpool in Glassfish

From: <forums_at_java.net>
Date: Thu, 16 Jun 2011 06:00:09 -0500 (CDT)

Hi everybody.

In our app, we have some cron tasks should run certain times. In our current
implementation, whe have a timer thread containing cron task. This timer
checks each cron against its time interval, if cron should be executed, timer
submit this cron to ExecutorService.

 

I wonder what the best strategy is to implement such a thing in a java ee
environment(Glassfish)?

 

I dont want to manage thread in my app, instead app server manage them
instead of me.

 

thank you.


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