Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Background job manager for Java? [closed]

Tags:

java

maven

In the .NET world when you need to implement an app which will do processing in the background there are various libraries like Hangfire for example. But I am not able to find an equivalent in Java? What will be a good library for managing background tasks in Java?

like image 900
Milen Kovachev Avatar asked Apr 28 '26 08:04

Milen Kovachev


2 Answers

The metioned Quartz Scheduler works very well. Also supports clustering using a database.

If you need to dig deep into batch processing there is Spring-Batch. It comes along with quite some good practices regarding transactions, skip or retry mechanisms. There is also a Spring-Batch-Admin interface.

like image 148
wemu Avatar answered Apr 29 '26 21:04

wemu


I'm not sure I understand completely the scope of Hangfire, but it sounds like the same kind of tasks I have solved using Quartz Scheduler

like image 27
jumps4fun Avatar answered Apr 29 '26 22:04

jumps4fun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!