This content has been marked as final.
Show 2 replies
-
1. Re: java Timer class VS TimerMBean
genman Oct 31, 2003 4:51 PM (in response to sugramoin)
I wrote my own MBeans with the java Timer class and it works okay. There's nothing wrong with using JMX for that.
You get a little more flexibility with the JBoss scheduler in terms of when and how often tasks are run, but I wasn't too sure if the timer tasks were executed all in the same thread or could pontentially "block" other unreleated tasks. -
2. Re: java Timer class VS TimerMBean
adrian.brock Oct 31, 2003 6:23 PM (in response to sugramoin)The JMX reference implementation uses the java timer
class under the hood.
It doesn't scale very well.
I'm not sure whether is a problem with the java
timer implementation or the reference implementation's usage.
Regards,
Adrian