Creating the request handlers
We will now build the handlers that are used to serve the HTTP requests from our Ext JS client. These handlers will be added to a new web
directory, as shown in the following screenshot:
Each handler will use the Spring Framework @Controller
annotation to indicate that the class serves the role of a "controller". Strictly speaking, the handlers that we will be defining are not controllers in the traditional sense of a Spring MVC application. We will only be using a very small portion of the available Spring controller functionality to process requests. This will ensure that our request handling layer is very lightweight ...
Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.