[jboss-user] [JBoss Seam] - TimerService in Seam app

Stateless Bean do-not-reply at jboss.com
Fri Mar 23 06:24:16 EDT 2007


Hi,
I have Seam app, but i need to create global = application context bean that excecute each 1minute some method. Method take some records from db and do somethink...

Is ejb3.0 timmer service good for that?
I found some tutorial how to use timmer service, and i see there:

  | @Resource
  | private SessionContext ctx;
  | 
here is session Context , so isn't that mean if 100users will be use my app there will be 100instances of timmers, and 100times my method invoked?

Can anyone help / explain how to create global quartz that start each minute and invoke some method from my application scope bean?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030988#4030988

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030988



More information about the jboss-user mailing list