How to integrate spring batch admin into existing maven project

I want to integrate the spring batch administrator into my existing maven project. Also I want only one war file to generate a file of my existing maven project

+4
source share
2 answers

@ Rajiv Ranjan

Spring's web site user interface is a reference implementation. Most of it is configured and extruded from the code into XML files and user interface templates.

See https://github.com/regunathb/Trooper/tree/master/batch-core/src/main/resources/WEB-INF for an example of how I built it into my application. Screenshots can be found here: https://github.com/regunathb/Trooper/wiki/Trooper-Batch-Web-Console

+2
source

One way to achieve this is to create your maven project in a web application project and copy the spring website web resource (web.xml, index.jsp at least) for it. add spring -batch-admin-manager and spring -batch-admin-resource dependency in your pom. Build your war on apps and you're done.

+1
source

All Articles