Spring MVC Beginner’s Guide by Amuthan G provides a comprehensive coverage of all the concepts and techniques associated with Spring MVC.
Chapter 1 examines the various steps required to be followed to configure a spring development environment. You will learn how to install and setup JDK, environment variables, Maven build tool, Tomcat web server, spring tool suite in addition to the steps related to configure Tomcat and Maven on STS.
The chapter also examines the steps required to create a Spring MVC project. Amuthan also covers addition of spring jars, Java version properties in pom.xml including configuration of dispatcher servlet.
In Chapter 2 of Spring MVC Beginner’s Guide, you will learn request mapping, web application context, view resolvers, Spring MVC request flow in addition to domain, repository and service object creation. Finally, the author provides a brief overview of the web application architecture.
Chapter 3 helps you to learn the steps required to add class-level request mapping and the role of a controller in Spring MVC. Amuthan also examines the use of URI template patterns, matrix variables, handler mapping in addition to the concepts associated with request parameters.
Chapter 4 of Spring MVC Beginner’s Guide examines form processing, customized data binding, externalizing text messages and use of spring security tags.
With the help of chapter 5, developers will be able to learn the steps required to resolve views, serve static resources in addition to use of ContentNegotiatingViewResolver and handler exception resolver.
Amuthan examines the concepts associated with interceptors, internationalization, audit logging and conditional redirecting in chapter 6. The next chapter provides a detailed overview of bean and spring validations.
Chapter 8 of Spring MVC Beginner’s Guide provides a brief introduction to REST. You will learn the steps required to implement and consume RESTful web services in addition to the steps required to handle a web service in Ajax.
In page 220, you will learn the use of spring web flow including the steps required to implement the order-processing service and checkout flow. The author also examines the concepts associated with the enhancing reusability through Apache tiles.
Testing is one of the most crucial phases in application development with any programming language/framework. The author briefly examines unit testing and the required steps to integrate testing with the Spring Test Context framework.
Amuthan has provided a separate section captioned – Time for action, which examines the steps required to perform relevant task along with complete source code. He then provides a detailed explanation as to what exactly the source code does.
Spring MVC Beginner’s Guide includes one appendix that examines the use of Gradle Build Tool. You will learn the steps required to install Gradle and understand the scripting language behind it.
The book includes multiple choice questions at random places to test the knowledge of developers. For instance, you will find a question related to redirection in Page 135. Amuthan has also provided answers to all the questions at the end of the book.
From my point of view, Spring MVC Beginner’s Guide is a comprehensive resource for emerging Java developers and for all those who would like to learn Spring MVC in a quick span of time. I feel Amuthan has done a great job to enable developers to learn concepts practically.