View Review Details
| Book: | Spring: A Developer's Notebook | |
| Subject: | Gaps in code? | |
| Date: | 2005-05-25 08:32:30 | |
| From: | cocciag | |
|
Rating:
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.
|
||


