posted 19 years ago
I dont understand (2) case. I guess that should be EJBException. My thinking is (2) is against the EJB rule so it shud throw EJBException.
Please read the
unconfirmed error reports are from readers
[559] 2nd paragraph;
In the book:
The client gets a RemoveException. Why? Because the only remove() method in a session
bean's local home is the one that takes a primary key, and that can never work.
Remote client would also get a RemoveException.
Should read:
The client gets an EJBException. ... Remote client would get a RemoteException.
Noticed that it is NOT confirmed by the authors.
Nick
[ July 27, 2005: Message edited by: Nicholas Cheung ]
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)