With WildFly Swarm, you can create the right-size Java EE microservice, including batch with JBeret, which looks very interesting:
WildFly Swarm Project Generator | WildFly Swarm
Example screenshot: