Can I use the same joblauncher for multiple jobs? What are the negatives associated with this approach? Could some one help me in understanding this asap?
Printable View
Can I use the same joblauncher for multiple jobs? What are the negatives associated with this approach? Could some one help me in understanding this asap?
Similarly, can I use the mapjobrepobean for testing out multiple jobs running (its not multiple instances of the same job though?)
Might be simple - but please could one of you offer your thoughts in this regard?????
You should be able to. The SimpleJobLauncher does not maintain any type of state for the Job itself. You'll need to configure it to configure it to launch the jobs asynchronously though as documented here: http://static.springsource.org/sprin...ingJobLauncher