Hi there,
Currently I have a pure
java application using core java which interact with backend database using an OR mapping layer(hibernate). This is synchronous invocation.
Now I want to run this application in a batch. i.e. the input for the application will be in a file so instead of 1 record processing invoked by an external client I will have a file which may consist 1000 records. I have to pick 1 record each from the file and invoke the application.
I want to know your ideas on the same and best practices if any related to this.
Like some of the issues to tackle is not allowing more than 1 batch to run at the same time. We may have to change the file based approach mentioned above to say do a database call and fetch records to be feeded into the java app.
Can we use some of the batch utilities in the java space like Springbatch or quartz.
Thanks in Advance