Summary

Our Java web interface is now complete—we have created a fully functional request handling layer that is optimized for Ext JS 4 clients. The HTTP client-accessible URLs are mapped to the request-handling classes through the @RequestMapping annotations at the class and method levels. Each handler method interacts with the service layer through well-defined interfaces and processes the Result data transfer objects before returning JSON data in the HTTP response. We have configured the Spring Web MVC container with Java configuration classes and implemented a Spring interceptor to check whether a user has been authenticated.

In Chapter 8, Running 3T on GlassFish, we will complete our Spring configuration and deploy the 3T application on the ...

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.