Jul 9th, 2011, 10:48 AM
Spring Batch Admin: Useable with external java processes containing batch jobs?
We currently have our own home grown mini batch framework which we are thinking about migrating to spring batch.
We typically run each batch job or related group of batch jobs in in its own Java process as oppose to having all batch jobs running in the same process. This is something which gives us a bit of flexibility when it comes to releasing new versions of some "jobs".
I've recently been looking at the Spring Batch Admin project and I wonder how, if at all, this will work when deploying the batch jobs like we do.
Instead of having the jobs run in the a web application which has spring batch admin embedded, we would like to deploy it (spring batch admin) in its own webapp independently of the external java processes with our batch jobs.
Can this work?
Even if we loose the ability to administer the batch jobs it would be great to have a read-only view of the status.
Jul 12th, 2011, 03:28 AM
Spring Batch Admin is widely used as a read only admin tool - just point it at the repository that your standalone jobs use. The sample app comes with jobs configured as services, but there's no reason you have to do it that way, although a lot of people find that a convenient vehicle for deploying and managing a job configuration (or a set of related configurations).