Summary


The timer service provides a standardized mechanism for the delayed notification of EJB components. An EJB component implements the TimedObject interface, which contains a single ejbTimeout() callback method that is invoked by the timer service. Timers are created via the timer service, which is accessed via the EJBContext. Extra information is supplied with the creation of the timer in the form of a serializable object that can be used to conditionally execute business logic. A timer can be created with interval and expiration-based parameters.




Enterprise JavaBeans 2.1
Enterprise JavaBeans 2.1
ISBN: 1590590880
EAN: 2147483647
Year: 2006
Pages: 103

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net