Search code examples
spring-batchzosjsr352java-batch

Can I run a Java Spring Batch program in JavaSE environment?


We are exploring deployment/execution modes for the Java batch programs being created for z/OS (mainframe)

Option 1: Deploy it in Liberty profile

Option 2: Can I run Spring Batch program in a JavaSE environment ?


Solution

  • Yes. There is no required dependency on an application server for Spring Batch. In fact, using Spring Boot to generate an über jar and running it that way is the recommended approach for running Spring Batch jobs currently.