Errata

Enterprise JavaBeans 3.0

Errata for Enterprise JavaBeans 3.0, Fifth Edition

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 25
1st paragraph, line 8

space added after setCruiseID().

###########################################

Anonymous    Apr 01, 2007
Printed
Page 26
Heading

Stateful and statelessl session beans
->
Stateful and stateless session beans

###########################################

Anonymous    Apr 01, 2007
Printed
Page 27
Code example

int cabinPk = reservationMsg. getInt("CabinID");
->
int cabinPk = reservationMsg.getInt("CabinID");

###########################################

Anonymous    Apr 01, 2007
Printed
Page 51
Code example

package com.titan.domain
->
package com.titan.domain;

###########################################

Anonymous    Apr 01, 2007
Printed
Page 54
First code example

</persistence
->
</persistence>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 72
1st paragraph

ee'll
->
we'll

###########################################

Anonymous    Apr 01, 2007
Printed
Page 105
Code sample

<embeddable> element should be listed at the end of the xml.

Anonymous   
Printed
Page 146
Subsection header

Default Rrelationship mapping
->
Default relationship mapping

###########################################

Anonymous    Apr 01, 2007
Printed
Page 151
Middle of page

@OrderBy('lastName asc, firstname asc")
->
@OrderBy("lastName asc, firstname asc")

###########################################

Anonymous    Apr 01, 2007
Printed
Page 170
Second paragraph

EJQ
->
EJB

###########################################

Anonymous    Apr 01, 2007
Printed
Page 177
Middle of page

ORDER ASC
->
ORDER, ASC

###########################################

Anonymous    Apr 01, 2007
Printed
Page 186
Middle of page

vice versa
->
vice versa.

###########################################

Anonymous    Apr 01, 2007
Printed
Page 190
Second paragraph and code sample (occurs twice)

NOT NULL
->
IS NOT NULL

###########################################

Anonymous    Apr 01, 2007
Printed
Page 217
first line

This is true irregardless
->
This is true regardless

###########################################

Anonymous    Apr 01, 2007
Printed
Page 297
Bottom

stateless session timer
should read as
stateless session bean timer
occurs twice

Anonymous   
Printed
Page 298
Top

stateless session timer
should read as
stateless session bean timer

Anonymous   
Printed
Page 298
Middle of page

@PostConstruct
->
@PostConstruct

###########################################

Anonymous    Apr 01, 2007
Printed
Page 300
Top of page

@Resource TimerService timerService
->
@Resource TimerService timerService;

###########################################

Anonymous    Apr 01, 2007
Printed
Page 309
End of 2nd Paragraph;

as@EJB
->
as @EJB

###########################################

Anonymous    Apr 01, 2007
Printed
Page 312
1st code example

"ProcessPaymentBean "
->
"ProcessPaymentBean"

###########################################

Anonymous    Apr 01, 2007
Printed
Page 315, 316, 317
Bottom of page

<ejb-ref-name>ejb/ProcessPaymentRemote </ejb-ref-name>
->
<ejb-ref-name>ejb/ProcessPaymentRemote</ejb-ref-name>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 316
Middle of page

<ejb-link>processPaymentEJB</ejb-link>
->
<ejb-link>ProcessPaymentEJB</ejb-link>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 317
Top of page

...in the TravelAgentBean class
->
...in the TravelAgentBean class.

###########################################

Anonymous    Apr 01, 2007
Printed
Page 318
Top of page

<ejb-link>processPaymentEJB</ejb-link>
->
<ejb-link>ProcessPaymentEJB</ejb-link>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 354
Top of page

Super(clause);
->
super(clause);

###########################################

Anonymous    Apr 01, 2007
Printed
Page 387
Top of page

tr1.setCustomer(customer0;

tr1.setCustomer(customer);

###########################################

Anonymous    Apr 01, 2007
Printed
Page 401
First row of table, fourth column

ethrow
->
Rethrow

###########################################

Anonymous    Apr 01, 2007
Printed
Page 420
Middle of page

<method-intf>Remote</method_intf>
->
<method-intf>Remote</method-intf>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 421
First section of "The RunAs Security Identity", last two words

@RunsAs feature
->
@RunAs feature

###########################################

Anonymous    Apr 01, 2007
Printed
Page 430
Bottom of page

<exp-date>09-2007/exp-date>
->
<exp-date>09-2007</exp-date>

###########################################

Anonymous    Apr 01, 2007
Printed
Page 507
Middle of page

Cabins are f entities
->
Cabins are entities

###########################################

Anonymous    Apr 01, 2007
Printed
Page 526
Middle of page

http://examples.oreilly.com/9780596009786,
->
http://www.oreilly.com/catalog/9780596009786/

###########################################

Anonymous    Apr 01, 2007
Printed
Page 544
Bottom of page

The word "clean.db" changed to constant-width font.

###########################################

Anonymous    Apr 01, 2007
Printed
Page 559
Top of page

flushmodeExample()
->
flushModeExample()

###########################################

Anonymous    Apr 01, 2007
Printed
Page 683
2nd line of code

<sequence>http://localhost:8080/titan/TravelAgentBean?wsdlpan>
->
<sequence>

###########################################

Anonymous    Apr 01, 2007