your answer is correct for session beans, the reason is simply because it is specified Have a look at section 18.3.5 of the EJB specification.
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
posted 15 years ago
Hi Wei-ju Wu,
Thankyou for your answer. Actually I was sure about the answer but had a doubt because HFEJB has given a different answer. Anyway thankyou for clearing my doubt even after you clearing the exam. [ July 20, 2005: Message edited by: S javainn ]
Javainn<br /> <br />SCJP,SCWCD,SCBCD,<br />ICED (IBM-287,IBM-484,IBM-486)
IBM certified in DB2 V 8.1 Family Fundamentals (IBM 700)
Which exception do we get if the client calls remove() on a bean thats already been removed?
A) No Such Object exception(for remote), B) No Such Object Local exception(for local) or C) EJB/Remote exception for local and remote clients respectively.
It is not guaranteed that the container will throw the specific exception. In the above question third option is correct because container may not thorw NoSuchObjectException or NoSuchObjectLocalException.
Do a search in the forum and you will find answer of this question .
Sawan<br />SCJP,SCWCD,SCBCD<br /> <br />Every exit is an entry somewhere.