-
Apr 27th, 2011, 08:50 AM
#1
Spring batch newbie question
Hello,
I am investigating using Spring Batch for a simple single threaded job that reads from a flat file and inserts records into a database. I want to trigger the spring batch job from an existing, struts based web app. My question is can I deploy the batch job as part of my existing struts app or does it need to be deployed as a completely separate application? Can I trigger the job via an http request from a struts action?
Thanks!
Frank
Last edited by frank12345; Apr 27th, 2011 at 09:22 AM.
-
Apr 28th, 2011, 01:23 AM
#2
Why wouldn't you be able to do that. Just get a reference to the joblauncher, and kick of the job. It doesn't matter if it is struts, spring mvc, wicket, command line... All that matters is the joblauncher.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules