Errata

Enterprise JavaBeans

Errata for Enterprise JavaBeans

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Printed Page 23
3rd paragraph

"It would extend SessionBean instead of EntityBean..."
should read:
"It would implement SessionBean instead of EntityBean..."

because a session bean implements javax.ejb.SessionBean, which is an interface.
A beanclass can't extend an interface.

Anonymous   
Printed Page 86
package declaration in code

package declaration reads

package com.titan.cabin;
It should be
package com.titan.clients;

Anonymous   
Printed Page 90
package declaration in Client_2 code

package declaration reads

package com.titan.cabin;
It should be
package com.titan.clients;

Anonymous   
Printed Page 117
Figure 5-4

javax.rmi.Remote
should be
java.rmi.Remote

Anonymous   
Printed Page 179
Within the removePhoneNumbers(byte typeToRemove)

The statement

iterator.remove(phone);
should be
phoneNumbers.remove(phone);

Anonymous   
Printed Page 246
Mid page

JNDI name should be java:comp/env/jdbc/titanDB...opposed to java:comp/jdbc/titanDB

Anonymous  Nov 25, 2012 
Printed Page 510
Last code snippet on page

Persistence type should be Container instead of Bean.

Anonymous   
Printed Page 551
Figure 19-8

The sterotype <<Stateful SB>> should presumably be <<Stateless SB>> ?
Also, the customer attribute should not be present ?

Anonymous   
Printed Page 613
2nd paragraph

"...defined in $JBOSS_HOME/server/default/deploy/hsqldb-service.xml"
should read:
"...defined in $JBOSS_HOME/server/default/deploy/hsqldb-ds.xml"

Anonymous   
Printed Page 624
The code snippet at the beginning of the page

The examples code in the workbook does a findByPrimary to retrieve the customer. It
does not create a new customer as shown in the code snippet.

Anonymous