Announcement Announcement Module
Collapse
No announcement yet.
Spring batch Struts integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring batch Struts integration

    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, 09:22 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.

    Comment

    Working...
    X