13

I have been looking in to Spring Batch to solve a batch processing scenario with huge amount of data involved in each job. Are there any other solutions that compete with Spring Batch? To be used in a Java EE environment.

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
Per Arneng
  • 2,100
  • 5
  • 21
  • 32
  • I think https://camunda.com/ can also be used as an alternative. you can use Camunda Platform 7 as an embedded engine to orchestrate their Java code (using Spring Boot or Tomcat) – firstpostcommenter Jun 16 '22 at 17:36

5 Answers5

7

Batch support is now available in Java EE 7 via JSR 352: Batch applications for the Java platform.

See Batch Applications in Java EE 7 - Undertanding JSR 352 Concepts for some more info.

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
5

Well the uber-king of big-data batch processing is Hadoop, but that can be rather tricky to set up, to put it mildly.

skaffman
  • 398,947
  • 96
  • 818
  • 769
3

Akka is a nice solution too for precessing small tasks http://akka.io/

Jordi P.S.
  • 3,838
  • 7
  • 36
  • 59
3

Try easyBatch. The simple stupid Batch framework. Try it once and use it forever. https://github.com/j-easy/easy-batch

Eddy Bayonne
  • 2,448
  • 1
  • 17
  • 23
3

There is also JobRunr - It is a port of Hangfire to Java.

It allows to schedule simple Java 8 lamdbda's as follows:

BackgroundJob.enqueue(() -> System.out.println("this will be done in a background process, perhaps even on a different server"));

More info on https://www.jobrunr.io or https://github.com/jobrunr/jobrunr.

P.s.: I'm the creator of JobRunr so I might be biased.

rdehuyss
  • 734
  • 8
  • 14
  • hello, is there anyway to try batch processing without purchasing? it is good if there is key and expires after 1 week. i compare same task by using spring batch and jobrunr-spring-boot-starter in terms of usage and time complexity – denizg Jul 05 '21 at 10:57
  • Please mail me at hello@jobrunr.io to see what we can work out. – rdehuyss Jul 06 '21 at 13:10
  • @rdehuyss Is it possible to combine Spring Batch with JobRunr? – trshiv Feb 13 '23 at 13:27
  • @trshiv: I think it would be possible (I haven't tried it, though), but I don't see the added value of combining the 2 of them. – rdehuyss Feb 13 '23 at 16:58