I need to create a Clustered, load balanced batch application which is supposed to run several processes for work format conversions etc. We chose to use Spring, Hibernate and Quartz for implementing this as our team had the knowledge of using Spring and Quartz in RAM Job store earlier.
This application has to be load balanced also, so we have to create one parent Quartz job which pulls the information from database about the records that needs to be processed and creates one child job for each record that needs to be processed and stores the information in the database. Then the jobs are triggered to all the instances of the application running and connecting to that database, and so load is also balanced.
Every thing looks colorful till this point. When we start using Spring on top of this for Dependency Injection, we are not sure on how to inject the required objects when the jobs are triggered from the database across several machines in the cluster. what are the solutions for this problem ?
preguntado el 28 de mayo de 14 a las 14:05