Which of the following is incorrect about the how the exceptions are handled in EJB's (1 correct answer)
A. When a business method of an enterprise bean throws an application exception the container discards that instance of the bean
B. Message driven beans are not allowed to throw exceptions to clients
C. When a business method of an enterprise bean throws an application exception, the container automatically rolls back the transaction
D. The class of exception recieved by the client is the same class of exception when the bean throws an application exception
The PreDestroy callbacks are not invoked when the bean and the interceptors are discarded as a
result of such exceptions: the lifecycle callback interceptor methods in the chain should perform any
necessary clean-up operations as the interceptor chain unwinds.