Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
by Since Java EE7, the ManagedScheduledExecutorService is a new pattern to implement a scheduler service.
And this was also my first thought when I switched from EJB Timer to ManagedScheduledExecutorService.
But in contrast to the ManagedScheduledExecutorService the non-persistent EJB Timer is transactional during the creation and cancellation which can be important for many scenarios.
So we have seen how ManagedScheduledExecutorService and EJB Timers can be used to implement scheduled tasks in Jakarta EE.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com