Hi,
If you are deploying on a full blown EJB container, you can use the
TimerService too.
I personally used Spring to run periodic TimerTasks and it works well.
You don't need to use Quartz if your scheduling needs are simple (like
run each 10 minutes).
2007/11/5, Antonio Petrelli <[EMAIL PROTEC
On 11/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Antonio,
>
> Antonio Petrelli wrote:
> > Though I think that Quartz is a great product, it is discouraged by the Java
> > EE specifications to create threads in a webapp.
>
> Hey, every
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antonio,
Antonio Petrelli wrote:
> Though I think that Quartz is a great product, it is discouraged by the Java
> EE specifications to create threads in a webapp.
Hey, every time someone asks on the Tomcat list about how to do this, I
tell 'em to use
On Mon, November 5, 2007 11:17 am, Ashish Kulkarni wrote:
> Hi
> I dont need more then one thread, or a timer job i would say, this timer
> should sleep and then activate like after 10 minutes, check the database,
> if
> there is nothing to do go back to sleep.
> I will look into quartz, is it ok
Hi
I dont need more then one thread, or a timer job i would say, this timer
should sleep and then activate like after 10 minutes, check the database, if
there is nothing to do go back to sleep.
I will look into quartz, is it ok to use Java Timer and TimerTask to do it.
For example this will be my t
Ashish Kulkarni wrote:
Hi
I have to write a thread in web application which will check some values in
database, and then perform some function depending on the values.
There wont be any user input and this thread should be called after like 10
minutes, also i want to have a jsp page from where i
<2 cents>
servlet context sounds good.
Start from ServletContextListener upon server start.
regards
Leon
On 11/5/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> I have to write a thread in web application which will check some values in
> database, and then perform some function depending
On Mon, November 5, 2007 10:40 am, Ashish Kulkarni wrote:
> Hi
> I have to write a thread in web application which will check some values
> in
> database, and then perform some function depending on the values.
>
> There wont be any user input and this thread should be called after like
> 10
> minu
2007/11/5, Christopher Schultz <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Ashish,
>
> Ashish Kulkarni wrote:
> > There wont be any user input and this thread should be called after like
> 10
> > minutes, also i want to have a jsp page from where i can maintain this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
Ashish Kulkarni wrote:
> There wont be any user input and this thread should be called after like 10
> minutes, also i want to have a jsp page from where i can maintain this
> thread, like stop, change the time it should run etc.
>
> Are ther
Hi
I have to write a thread in web application which will check some values in
database, and then perform some function depending on the values.
There wont be any user input and this thread should be called after like 10
minutes, also i want to have a jsp page from where i can maintain this
thread
11 matches
Mail list logo