1. What would happend if an Entity bean has been removed from the database and ejbLoad() is called on a bean instance.
Correct ans given: - javax.ejb.NoSuchEntityException.
I answered javax.ejb.NoSuchObjectException.
Which one is right ???. If the entity is removed, then we get NoSuchEntityException and if the bean instance is removed we get NoSuchObjectException.
Now what does the ques refers to .... !!!
--------------------------------------------------------------------------
Which mechanism can be used to learn if an application exception has resulted in a tx being rolled back ???
Correct ans given :- The bean provider can specify which exceptions will mark a tx for rollback before the exception is throw ..
HOW .....
[ August 06, 2004: Message edited by: Giju George ]