Enterprise JavaBeans, Second Edition By Richard Monson-Haefel Following are the changes made in the 12/00 reprint. Here's the 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 [100] The following code: \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 has been changed to: \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 [114] The following code: import java.util.Properties; import java.util.Vector; has been changed to: import java.util.Properties; import java.util.Vector; import javax.ejb.EJBException; [114] The following code: CabinPK pk = new CabinPK(); Cabin cabin; for (int i = 1; ; i++) { pk.id = i; has been changed to: Cabin cabin; for (int i = 1; ; i++) { CabinPK pk = new CabinPK(); pk.id = i; [124] The following code: import com.titan.cabin.CabinHome; import com.titan.cabin.Cabin; import com.titan.cabin.CabinPK; has been changed to: import com.titan.travelagent.TravelAgent; import com.titan.travelagent.TravelAgentHome; [124] The following code: static public Context getInitialContext() throws Exception { has been changed to: public static Context getInitialContext() throws Exception { [128] In the last paragraph: two remote interfaces has been changed to: a home interface and a remote interface also, the following sentence: Of these types, the remote interfaces.... has been changed to: Of these types, the remote and home interfaces.... [168] The following code: public ShipPK ejbCreate(int id, String name) { this.id = id; this.name = name; capacity = 0; tonnage = 0; } has been changed to: public ShipPK ejbCreate(int id, String name) { this.id = id; this.name = name; capacity = 0; tonnage = 0; return null; } [198] The following text in paragraph four: Its return type has been changed from void to the Ship bean's primary key, ShipPK. has been changed to: Its return value has been changed from null to an instance of the ShipPK primary key. [205] The following text in paragraph four: "Both find methods in the ShipBean class methods throw a FinderException " has been changed to: "Both find methods in the ShipBean class methods throw an EJBException " [212] In paragraph five: EJBContext.getPrimary() has been changed to: EntityContext.getPrimaryKey( ) (437) In the last line of the first column on the left, the Enhydra web address has been changed to: www.enhydra.org. [443] In the first code listing: InitialContext initCxt = InitialContext(); Context defaultCxt = (Context)initCxt.lookup("java:comp/env"); Double limit = (Double) defaultCxt.lookup("java:comp/env/withdraw_limit"); has been changed to: InitialContext initCxt = new InitialContext(); Context defaultCxt = (Context)initCxt.lookup("java:comp/env/"); Double limit = (Double) defaultCxt.lookup("withdraw_limit");