
Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
I will explain you in detail
We need to develop a admin tool for timer tasks
which will List all existing timer tasks with information ( current
state, last time run, next scheduled to, start and stop options).
so the tasks which are running how can I get the list...
jlowery05 - 22 Mar 2006 07:53 GMT
If you have access to the code, wrap the class and instrument the
wrapper with the information you need.
Other than that, it appears you're stuck.
Frank Seidinger - 22 Mar 2006 08:04 GMT
Deepa schrieb:
> We need to develop a admin tool for timer tasks
> which will List all existing timer tasks with information ( current
> state, last time run, next scheduled to, start and stop options).
Take a look at the JMX-API (java management extension). You can write a
MBean to administer your timer tasks. With the right interface methods you
will be able to start, stop and list timer tasks.
The timer task itself I would place into a simple list, that is a member of
your MBean.
The implementation part would not exceed a few days. If you are experienced
with java and MBeans it will be only one or two days.
If you are looking for a ready to use framework, have a look at quartz at
http://www.opensymphony.com/quartz
Kind regards,
Frank.

Signature
Geld allein macht nicht glücklich.
Es kommt auch auf die Menge an...
Chris Smith - 22 Mar 2006 08:44 GMT
> We need to develop a admin tool for timer tasks
> which will List all existing timer tasks with information ( current
> state, last time run, next scheduled to, start and stop options).
>
> so the tasks which are running how can I get the list...
Are you acually reading the responses people write? It doesn't seem
like it. I spent a good paragraph listing three different ways to do
it. (Frank just added a fourth, which I haven't verified.)

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Deepa - 22 Mar 2006 14:01 GMT
Hey Chris, I am reading all the responses.
Oliver Wong - 22 Mar 2006 17:46 GMT
> Hey Chris, I am reading all the responses.
I was pretty sure there was a "How to ask smart questions" entry on
this, but I couldn't find it, so I'm gonna paraphrase the answer off the top
of my head here:
Explain why the previous responces did not satisfy your question.
- Oliver
Roedy Green - 22 Mar 2006 21:50 GMT
>Hey Chris, I am reading all the responses.
You got my back up dismissing my answer as if I had not responded. If
you dismiss an answer and want a different one, you pretty well have
to explain why the offered approach is not feasible for your case or
asking for more elaboration if that is the problem.
You came across like some precious princess stamping her foot
demanding someone find her strawberries in the snow served on a golden
plate.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Deepa - 23 Mar 2006 08:11 GMT
Hey I discussed with my client they didn't wnt the JMX thing...they
want it to do in a simple manner just using some of the APIs. I will
explore more and will get back to u on this.
Deepa - 23 Mar 2006 08:12 GMT
Hey I discussed with my client they don't wnt the JMX thing...they want
it to do in a simple manner just using some of the APIs. I will explore
more and will get back to u on this.