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:

Creating the request handlers

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.