Java EE 6 and 7 Scheduler examples using TimeService API.
Detailed articled can be found here.
The project contains the following examples:
- Automatic persistent scheduler (see
AutomaticPersistentScheduler
class) - Automatic non persistent scheduler (see
AutomaticNonPersistentScheduler
class) - Programmatic persistente scheduler (non persistent version can be derived easily) (see
ProgrammaticPersistentScheduler
class)
The code from this project has been tested on Oracle Glassfish 4 (Full EE7 profile) and IBM WebSphere 8.5.x (Full EE6 profile).