Errata

Java Enterprise in a Nutshell

Errata for Java Enterprise in a Nutshell

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 153
1st paragraph, line 2

"Classes that implement the ServletContextListener interface.... when the context is unitized or destroyed."
should be:
"Classes that implement the ServletContextListener interface.... when the context is initialized or destroyed."

Anonymous   
Printed
Page 156
1st paragraph after Example 5.5, 3rd line

line reads:
getReader() method of HttpServletRequest, which returns a PrintReader that...

line should say:

getReader() method of HttpServletRequest, which returns a BufferedReader that...

Anonymous   
Printed
Page 346
receiveMessage() method

This method does not work correctly as written because
the connection is never started. It should have
mTopicConn.start();
inserted as the first line inside the try-block.

(This is consistent with the registerListener method,
which also starts the connection--see line 3 on page 346.)

The downloadable code, 9780596001520examples.zip, suffers the
same error.

AUTHOR: Not strictly a bug - the example just assumes that the connection is started
elsewhere. But since there's no harm (except time) in re-starting a started
queue, I added the calls the reader suggests to the receiveMessage() methods in
PTPMessagingClient and in PubSubMessagingClient.

Anonymous   
Printed
Page 375
4th paragraph

"we have endeavored..."
should be:
"We have endeavored..."

Anonymous   
Printed
Page 382
3rd paragraph

"This returns the Charles Dickens bookskm..."
should read:
"This returns the Charles Dickens books..."

Anonymous