Creating asynchronous controllers
For enhanced performance and faster request handling, asynchronous controllers have been present in any Spring instalments, to be used in cases where the service execution takes a practically large amount of time or the DAO layer retrieves an unpredictable, uncertain, erratic, and intermittent transmission of data from a certain data repository. Although rare, complex, and complicated to manage, asynchronous controllers can indeed help cut the time spent for bulk transactions compared to normal controller processing. With the use of callbacks, these types of controllers can manage unsuccessful data retrieval, which is one way of handling exceptions. Overall, given high-powered hardware resources and software applications servers, asynchronous @Controller
transactions can help alleviate the unwanted acquisition of high-powered hardware specification.
Getting started
Open again ch08
and create and add the following @Controller
that utilizes thread pool generated...