Mar 5th, 2013, 08:57 PM
front end interface for spring batch jobs
I have an application which is going to load large amount of data from a flat file at specified location to database using spring batch.Currently it is run through command line.
And it will be run with scheduler but by manually event trigger too.
Jobs and steps are fixed.And file location is specified.
But requirement is to make it more user friendly by adding UI to it.
I don't know if Spring admin console is a good idea for the reasons.
- Its not easy to tweak considering time constraints i am in.
- We want simple plain UI .We do'nt want application user to have flexibility to create new jobs etc.
Only purpose of UI : User can trigger the job launch, Or if possible see the progress of job.
If more than one CSVs are placed at that location, all are read. But from UI ,it should not be programmable.
- Creating a JSP with plain button to launch job and then sleep for 'n' hours till job is completed does not seem good to me either.
Since i am totally new to this api and have not come across much examples over internet, someone please suggest the UI layout and and underlying apis.