Errata

Java Enterprise Best Practices

Errata for Java Enterprise Best Practices

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 12
code

in the invoke(Object, Method, Object[]) method the line

if (!fieldMap.containsKey ("fieldName"))
should be
if (!fieldMap.containsKey (fieldName))

Anonymous   
Printed
Page 14
last example

The book shows:
public class OrderBean extends Order, EntityBean
it should read:
public class OrderBean implements Order, EntityBean

Anonymous   
Printed
Page 23
IN PRINT: Example 2-8.

the second occurence of FirstEJBHome.class should have been SecondEJBHome.class
i.e

secondHome=(SecondEJBHome)......
ctx.lookup(........
FirstEJBHome.class);

SHOULD BE:
secondHome=(SecondEJBHome)......
ctx.lookup(........
SecondEJBHome.class);

Anonymous   
Printed
Page 30
IN PRINT: last line

www.juinit.org

SHOULD BE:
www.junit.org

Anonymous   
Printed
Page 139
Code listing 6-2

3 errors in the code -

1)
private thread _dispatchThread;

should read

private Thread _dispatchThread;

2)

_dispatchThread;.start();

should read

_dispatchThread.start();

3)

_pendingCalls.addCall()

should read

_pendingCalls.add(callToAdd);

Anonymous   
Printed
Page 141
Further Reading section, bullets 4 and 6

Two of the links shown in the list are invalid.
In the 4th bullet, the stated link
http://www.onjava.com/pub/a/onjava/2002/10/17/rmi.html
should be:
http://www.onjava.com/pub/a/onjava/2001/10/17/rmi.html

In the 6th bullet, for JSR 107, the link
http://jcp.org/detail/107.jsp
should be:
http://jcp.org/en/jsr/detail?id=107

Anonymous   
Printed
Page 188
4th bullet item in the list

There is a suprious linebreak between the fourth and fifth point. In fact, there are
just 4 points and the linebreak should be eliminated.

i.e
---
* Forward the user to the proper locale-s
* pecific JSP page.
---

should be

---
* Forward the user to the proper locale-specific JSP page.
---

Anonymous   
Printed
Page 202
1st and 2ed bullets

"<% include ... %>"
should be
"<%@ include ... %>"

Anonymous