aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Timer service description in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Timer service description in "EJB Core Contracts and Requirements"" Watch "Timer service description in "EJB Core Contracts and Requirements"" New topic
Author

Timer service description in "EJB Core Contracts and Requirements"

Mellon Sun
Ranch Hand

Joined: Feb 20, 2003
Posts: 126
"The timer service is intended for the modelling of long-lived business processes. Timers survive container crashes, server shutdown, and the activation/passivation and load/store cycles of the enterprise beans that are registered with them."

The above is quoted from EJB Core Contracts and Requirements. I think here is a mistake because the EJB Core also says that timer cannot be created for stateful session beans or EJB 3.0 Entities. The activation/passivation belongs only to stateful session beans, right?


SCJP,SCWCD1.3,SCWCD1.4,SCJD,SCBCD5,SCEA5
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

In the same page, there's a note [94]. It says that it is not yet supported by stateful session beans, but "this functionality may be added in a future release of this specification.". So the spec says that the timer service will survive even after a passivation, but it doesn't say that it is used yet


[My Blog]
All roads lead to JavaRanch
Mellon Sun
Ranch Hand

Joined: Feb 20, 2003
Posts: 126
Yes, I saw it a moment ago too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timer service description in "EJB Core Contracts and Requirements"