posted 19 years ago
Which of the following statements regarding message-driven bean exception handling are true? [Check all correct answers]
1)Message-driven beans throw both application exceptions and system exceptions.
2)If a system exception is thrown by a method, the transaction is always rolled back by the container.
3)If a system exception is thrown by a method, the bean instance is always discarded.
4)If a system exception is thrown by a method, the client does not receive the exception.
5)If an application exception is thrown by a method, the client receives the exception.
Given Correct Ans:3,4
But i guess even 2 is also correct.
Comments please.
Thanks,
Prashant