I am developing a spring boot based web service where the user can query for some data, the data has to be fetched from db lazily, and has to be mailed to the user once data is fetched from db.
Can I use spring batch for this? Can anyone suggest some sample