Errata

Java Extreme Programming Cookbook

Errata for Java Extreme Programming Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 44
table 3.2 - top of page; next to **/a/** entry

"build/File.txt"

NOW READS:
"build/a/b/File.txt"

Anonymous    Oct 01, 2003
Printed
Page 44
First table, second entry

The table says that **/a/** will match build/File.txt

The book is wrong. Here is a correction for the three columns of the table:

Pattern
**/a/**

Matches
a/File.txt, src/a/File.txt

Does not match
a.java, src/b/C.class

Anonymous   
Printed
Page 73
5th (last) paragraph (just before the last sample code on the page)

The book states (in the last section of the last paragraph) the following:
"For instance, you can add individual tests to only run certain tests, or you can control the order in which they are executed:"
it should be:
"For instance, you can add individual tests to only run certain tests:"

Anonymous   
Printed
Page 114
Solution, first line

Use JUnit's WebForm

NOW READS:
USe HttpUnit's WebForm

Anonymous    Oct 01, 2003
Printed
Page 196
IN PRINT: Example 8-4

suite.addTest(timedTest);

NOW READS:
suite.addTest(loadTest);

Anonymous    Oct 01, 2003
Printed
Page 196
1st sentence

In the solution of paragraph 8.5 says:
Decorate your JUnit test with a JUnitPerf TimedTest to simulate one or more concurrent users, ...
should be:
Decorate your JUnit test with a JUnitPerf LoadTest to simulate one or more concurrent users, ...

Anonymous   
Printed
Page 208
example 9-1

The property specified for the 'force' attribute had two different names.
"force.ejb"

NOW READS:
"force.generation"

This change applies to example 9-1, and to the examples on pages 210, 212, and 216.

Anonymous    Aug 01, 2004
Printed
Page 213
Example 9-3, Hand-coded remote interface

public interface PaymentProcessingBean extends EJBObject {

NOW READS:
public interface PaymentProcessing extends EJBObject {

Anonymous    Oct 01, 2003
Printed
Page 269

An index entry was removed under "JUnit" listing to reflect change made on pg. 114.

Anonymous    Oct 01, 2003