hi
i have a mbean and it have many method
add
less
how to call add method every 2 second and less method every 6 second?
i checked to implements Schedulable but i don't found a way to put a timer on a method.. only on the global bean...
thanks
Don't implement the Schedulable interface if you want two different methods called.
I would create two scheduler mbeans which call your mbean methods through JMX.