Enterprise JavaBeans, Second Edition by Richard Monson-Haefel This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. (Please specify the printing date of your copy.) This page was last modified on March 28, 2001. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: {75} In the XML Deployment Description for Cabin Beans, the last two tags in this XML example should be end tags. They now read: They should read: [100] The following code: \dev % jar cf cabin.jar com/titan/cabin/*.class com/titan/cabin/META-INF/ejb-jar.xml F:\..\dev>jar cf cabin.jar com\titan\cabin\*.class com\titan\cabin\META-INF\ejb-jar.xml should be changed back to: \dev % jar cf cabin.jar com/titan/cabin/*.class META-INF/ejb-jar.xml F:\..\dev>jar cf cabin.jar com\titan\cabin\*.class META-INF\ejb-jar.xml Printings prior to 12/00 already reflect this. {222} 3rd paragraph (sentence following the sql code snippets); The client.java file in the cruise directory for EJB 1.1 seems to be the same as the EJB 1.0 one. Change: Object ref = jndiContext.lookup("CruiseHome"); CruiseHome home = (CruiseHome) javax.rmi.PortableRemoteObject.narrow(ref, CruiseHome.class); to: Context jndiContext = getInitialContext(); CruiseHome home = (CruiseHome)jndiContext.lookup("CruiseHome"); (394) The eighth line of the third paragraph reads: "as well" It should read: "as well as" (400) In the second line: JAF ... which is "need" to support ... should be: JAF ... which is "needed" to support ... {417} in the diagram (B-2); The arrow showing the invocation of a "business method" from "EJBObject" should go to "Bean Instance" instead of "Container". The same error is on page 419 (Figure B-4) but NOT on pages 418 and 420.