View Review Details


Book:   Spring: A Developer's Notebook
Subject:   Gaps in code?
Date:   2005-05-25 08:32:30
From:   cocciag
Rating:  StarStarStarStarStar

The format of these books is great and I was really looking forward to using this latest version, however, it appears that the code examples are insufficient and/or incomplete... An example is in Chapter 1 'Getting started'. When moving from the simple Injector Dependency to the Spring-based Injector Dependency, the text mentions that we just have to replace our assembler with a Spring version and provide a configuration file - there's more to it than that... We need to modify the ArrayListRentABike class, adding a default constructor and accessors for storeName, we need to move the bikes.add() code into the default constructor... And the ant build script doesn't account for the spring.jar classpath, or moving the xyz-context.xml to a place on the classpath.


Of course all these things can be solved relatively easily and quickly, however, they are interference when trying to focus on the issues raised in the text; most of my time gets spent fixing up silly config problems.


Disappointing...


See larger cover

"Spring: A Developer's Notebook is an attractive and ambitious book dealing with multiple advanced topics."
--Howard Carson, KickStartNews.com

Full Threads Oldest First