hi,
i read in ejb timer tutorials that container persists the running timers and making it to resume its operation once the EJB container is up. so, how does this persistence happens? where does the details of timer gets stored and retrieved back? need some comments on this at programming-level. any effort towards this wuld b appreciated.
thanks.
Discussions
EJB programming & troubleshooting: How a timer is persisted, when an EJB container crashes?
-
How a timer is persisted, when an EJB container crashes? (1 messages)
- Posted by: Dhilip Kumar
- Posted on: February 08 2005 23:48 EST
Threaded Messages (1)
- JBoss timer persistence by Nathan Cheng on February 15 2005 05:38 EST
-
JBoss timer persistence[ Go to top ]
- Posted by: Nathan Cheng
- Posted on: February 15 2005 05:38 EST
- in response to Dhilip Kumar
In the default JBoss install, if you look at
jboss/servers/default/deploy/ejb-deployer.xml
you will see an mbean named "jboss.ejb:service=EJBTimerService,persistencePolicy=database" that references a class called org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin. So if you look at the source for that class I imagine you would be able to see how JBoss persists its EJB timers in the general case.