java - Difference between Quartz Thread Pool and Task Executor -


i'm working in spring-quartz batch. i'm trying implement multi-threading batch application.

i come across 2 possible way of multi threading,

  1. use quartz thread pool
  2. use task executors.

i used quartz thread pool , working fine wondering advantage if implement task executor.

i'm doing xml configuration.

please suggest me should used , benefit of 1 on other.

thanks

i choose task executors if need keep n workers picking pieces of work common queue. advantage not need external libraries this. quartz thread pool created before java 5 - why exists.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -