Errata

ERRATA FOR FIRST PRINTING OF “SPRING IN ACTION”

Updated: 5/20/05

By Page No:

Page 8, sentence "However, Spring usefulness isn't..." should be "However, Spring's usefulness isn't..."

39, sentence "Like Struts in Spring, it...." should be "Like Struts and Spring, it..."

39, sentence "...for handling request is the..." should be "...for handling requests is the..."

39, sentence "...designers went of their..." should be "...designers went out

40, sentence "...URLs to method and objects." should be "...URLs to methods and objects."

40, sentence "...unique web Framework." should be "...unique web framework." (F should be lower case f)

40, sentence "JDBC require a lot of..." should be "JDBC requires a lot of..."

40, sentence "Both of these Spring's..." doesn't make much sense, maybe drop the first three words to "Spring's JDBC and ORM..."

41, sentence "...integrates with all the Spring..." should be "...integrates with all of the Spring..."

61, Table 2.1

The column Type should all be in package java.util.* instead of java.awt.*.

83,  com.springinaction.chapter02.phone should be com.springinaction.chapter02.phonenumber

90, In section 2.5, middle of the page "...with information that helps to container perform..." should be "...with information that helps the container perform..."

97, replace "http://www.habuma.com" with "http://www.springinaction.com"

97, first paragraph "...various Java AOP implantations." should be "...various Java AOP implementations".

123, 2nd paragraph:

Both beans can also be wired to other beans with your application.

Should reads:

Both beans can also be wired to other beans within your application.

123, they were talking about interceptorNames, but the example they use on the top of page 124 specifies proxyInterfaces.

Is this correct (and if so, hwere is the interceptorNames example then) or should it really have been:

<property name="interceptorNames">

instead of

<property name="proxyInterfaces">

137, "With Spring, we treat this we would..." should be "With Spring, we treat this as we would..."

138, replace "driver" with "driverClassName"

148

Listing 4.7 says using the JdbcTemple.

Also, there are a few references to calling the JdbcTemplate.execute method but the code samples call update.

149, in Listing 4.9, the bold text "Create object being queries" should be "Create object being queried" or "Create object being retrieved"

149, the text "...likely to have method to.." should be "...likely to have a method to...".

150, Listing 4.9, the bold text "Return queried objects" should be "Return queried object".

150, the sentence "To map a row to Person object..." should be "To map a row to a Person object...".

157, the sentence "If you want explore any of these frameworks in detail, a wealth of resources is available." should be "If you want to explore any of these frameworks in detail, a wealth of resources are available." (two corrections in this sentence)

159, the Student.hbm.xml listing shows properties for sex and weight. I believe these should be refering to the firstName and lastName fields of the Students.java listing on page 158

<property name="firstName" />

<property name="lastName" />

164, the sentence "...listing 4.14 to see who you wire in..." should be "...listing 4.14 to see how you wire in..."

170, the sentence "When Spring OBJ framework...." should be "When the Spring OJB framework...." (two corrections)

171, the sentence "...works, its OBJ support..." should be "...works, its OJB support...".

172, the sentence "That is because this transaction management is..." should be "That is because transaction management is...".

178, the sentence "Spring does not directly manage transaction." should be "Spring does not directly manage transactions."

186, sentence "...and the transaction ends with the method returns..." should be "...and the transaction ends when the method returns...".

187, table 5.3, 2nd column, 4th row "...are prevented by phantom reads may..." should be "...are prevented but phantom reads may...".

195, <property name="transactionProperties">

However, it should read:

<property name="transactionAttributes">

207, add bullet to This chapter covers:

"Integrating with EJBs"

209, "five" different RPC models, not "six".

212, "as if", not "is if".

240,  delete bullet “Integrating with EJBs”.  It belongs in chapter 6.

243 - contains the following sentence that seems unclear/hard to read "It is a factory bean, which means that when it is wired into a property, it will actually create some other type of object to wire into the property."

248 should have an import statement (import java.util.TimerTask).

251 should have an import statement (import org.quartz.Job).

253 discusses Cron's time elements, states that one is optional, but does not define which one is optional. In the list of elements, the Year element should be designated as optional.

260 sentence "...JMSConnectionFactory in registered in..." should be "...JMSConnectionFactory registered in ..."

266 sentence "...abstraction and how schedule tasks..." should be "abstraction and how to schedule tasks..."

276, sentence "...Spring's controller's return a..." should be "...Spring's controllers return a...." (controllers should just be plural)

309, almost at the end of the page there is a diagram explaining how a view name is created, "/WEB=INF/..." should be "/WEB-INF/..." (replace the equals sign with a hyphen)

317, sentence "...resolve it to loginError which..." doesn't make any sense. Where did the loginError piece come from???

318, sentence "...and several complexity layers in..." should be "...and several complex layers in..."

325, sentence "...on this tools functions." should be "...on this tool's functions."

340, sentence "...servlets or servlet-based framework..." should be "...servlets or a servlet-based framework..."

362, sentence "...Webwork is based around a general-purpose actions." should be "...Webwork is based around general-purpose actions."

362, sentence "...for our purposes we will discussing..." should be "...for our purposes we will be discussing..."

364, sentence "...one import difference..." should be "...one important difference..."

365, sentence "...resolve reference to beans..." should be "...resolve references to beans..."

366, sentence "...in beans that our configured..." should be "...in beans that are configured..."

379, The properties should be: usersByUsernameQuery[\b], usersByUsernameMapping and authoritiesByUsernameQuery.

381, exists a invalid property "minutesToIdle" for the bean EhCacheBasedUserCache

383, the line "<property name="userContext">;\" should be "<propterty name="userContext">" (remove the extra backslash after the greater than sign)