Top critical review
5 people found this helpful
Good introduction to Spring, but faulty code examples
on 1 September 2011
This is a lightweight introduction to Spring that gets down to business already at the beginning and allows a reader to quickly understand the basics of Spring, what it is used for, and what it can do. Other, more complete books on Spring, force a reader to go through several introductory chapters before allowing him/her to do anything even remotely useful with the Spring framework.
Having said this, my review would be more enthusiastic if, halfway through the book, I had not already found at least seven errors/omissions in the source code examples. Some had obvious solutions, while others forced me, as a Spring absolute beginner, to Google for answers to why the code was not compiling. The errors range from typos to the use of syntax no longer supported in current Spring versions (e.g., the use of singleton="true" and singleton="false" in Spring XML configuration, which is no longer accepted and must instead be written as scope="singleton" or scope="prototype", respectively). These errors should have been caught before publication, and would have been caught if the source code had been made available as downloadable book materials (at present, the directory of downloadable materials for this book at O'Reilly is empty).