17.1k views
5 votes
What are the advantages of using managedscheduledexecutorservice?

User N Jedidiah
by
5.3k points

1 Answer

1 vote

Answer:

ManagedScheduledExecutorService is more of a lightweight scheduling framework, and it does not support features like transaction support, and full lifecycle operations (create, read, cancel timers), which are supported by EJB Timers. In addition, EJB Timers can be persisted and so survive server crash and restart.

Step-by-step explanation:

User Ksiomelo
by
5.8k points