Spring Boot – how to run several ‘request’-scoped classes to async call
I have been writing a Spring Boot application for the last few months. The user enters 2-3 pieces of information in an interface, presses “Start” and the app now runs for 2-3 minutes (which was okay for the business, because it’s was easier to implement) and collects hundreds of pieces of information from various systems. Because this can be done by several users at the same time, we have assigned the scope “Request” to almost every class. The users can no longer act on the result displayed.