When developing Enterprise applications, it can be useful to perform operations at specific times of the day, or at specific regular intervals, for example, every 12 hours, or the last day of every month.
In the Unix world, this is analogous to the cron concept where system administrators can define tasks that run under a given schedule.
In Java EE 7, we have the concept of timers that can run Java code at predefined intervals.
To complete this recipe, we need to have a valid instance of WildFly installed and configured within NetBeans. We will be using the Enterprise download bundle of NetBeans as this provides all the features we need to complete this recipe without having to download any additional plugins.