Authors: Craig Walls, Ryan Breidenbach
Organization of book:
Keeping in view the differences in technical knowledge as well as requirements of the reader author had beautifully divided the book into three parts. It contains 11 chapters which had been categorically distributed into three parts with each part comprising of chapters dealing with some common areas related to Spring. These parts had been written and divided in such a way that if one intends to read these parts in a one-by-one flow, he can very well take the advantage of easy blending and simple flow of the book whereas the book also provides a good opportunity to the advanced learner who can directly pick the related topic from anywhere in the book and use it with an equal ease as that of the beginner. Author had very easily made this modular aspect of the book as an eye-catching thing for the readers and hence making the book useful for everyone.
The book starts with Part 1, the first chapter of which gives the reader a brief overview of Spring and its related modules along with focusing on the important concept of inversion of control. Apart from this the introductory chapter also gives the reader a know-how of applying aspect-oriented programming concepts in their applications. Elevating the need as well as importance of Spring author discusses various Spring alternatives present in the J2EE world and compares them with Spring. Next the book speaks about the wiring of beans in second chapter. Here the readers get a good chance to enhance as well as gather knowledge about Spring’s bean related concepts. Chapter three focuses mainly on the aspect-oriented programming fundamentals and how it makes the applications much cleaner.
Second Part of the book feeds the reader with information on how to apply the IoC and AOP concepts to the business layer of the application. It extensively says about Spring’s support for data access object. Usage of JDBC with Spring is also taken into account by the author. Hibernate framework along with its integration with Spring, topics like JDO, its configuration as well as SQL Maps are also discussed. Apart from this the book also takes care of some Transaction Management aspects of Spring in the next chapter. Under this integration of spring with different transaction managers, programmatically transaction management, trimming of transaction declarations etc had been thoroughly described.
Author had done his homework well before explaining issues related to remoting and accessing of enterprise services in the next two chapters. He had not only focused on simple issues like Remote Method Invocation but had also explained critical issues like task scheduling and sending of messages with an equal expertise. Keeping up with its modular aspect the book’s next part speaks of Spring in web layer of the applications. As with the previous two parts here also the author had talked very straight forwardly and his to-the-point approach is worth seeing.
The later part of the book shows how Spring can bind web parameters to your business objects including the mapping as well as handling of requests to Spring controllers. This chapter also tells you how you can validate form submissions as well as handle exceptions while working with the web applications. Talking about the templating languages author does not stop at velocity and FreeMarker only but also goes ahead in explaining the generation of PDF and Excel files in this chapter.
Last two chapters of the book discuss how to integrate Spring with other web frameworks and the application of security to your web applications. Author gives a good feed to the developers on how they can develop web applications using Spring in a variety of ways including spring’s MVC framework or a third-party web framework. Struts, Tapestry, JavaServer Faces, and WebWork are some of the popular frameworks which had been talked about. Lastly inorder to let your application survive in a secure environment some security aspects had also taken into account. Apart from telling you how you can make your web applications more secure it also refer to Spring’s AOP support to provide method-level security in your applications. The book ends with references to several other open source frameworks related to Spring giving its readers their last knowledge bite.
In this book the author had captured as well as divided the requirements in such a way that not only the beginners, moving on to a new part of the book based on the knowledge gained from earlier parts, finds it interesting but also the advanced developers directly landing into any part seeking some reference finds it quite helpful.In this way he maintains a classic balance between his readers’ diverse requirements as well as flow of the book. This proves to be an eye-catching point for the readers who can easily relate their requirements with the book irrespective of its complexity level.
|Table of Contents|
PART 1 SPRING ESSENTIALS
PART 2 SPRING IN THE BUSINESS LAYER
PART 3 SPRING IN THE WEB LAYER
|Overview of Chapters|
Part 1: Spring essentials
Part 2: Spring in the business layer
Part 3: Spring in the web layer
Spring in Action
- Parent Category: Java Book Reviews