1. Introduction In this example we will show how to use EJB Timer Service . The EJB timer service is a container-provided service that allows the Bean Provider to register enterprise beans for timer callbacks to occur according to a calendar-based schedule, at a specified time, or at specified intervals. 2. Create a new EJB Module Open NetBeans IDE, choose ...
Read More »Home » Enterprise Java » ejb3 »
Use Timer service example
This is an example of how to use the javax.ejb.TimerService in an EJB. The TimerService interface provides enterprise bean components with access to the container-provided Timer Service. The EJB Timer Service allows stateless session beans, singleton session beans, message-driven beans, and EJB 2.x entity beans to be registered for timer callback events at a specified time, after a specified elapsed ...
Read More »