Source - Choices from Whizlab question,
When an exception is thrown by a method invocation with CMT
- When method runs in unspecified TX context and non-AppEx is thrown, container will re-throw the Ex.
FALSE
- When method runs in unspecified TX context and non-AppEx is thrown, container will throw the EJBEx.
TRUE
- When method runs in unspecified TX context and non-AppEx is thrown, container will log the Ex.
TRUE
Doubt:
What is the difference b/w re-throw & throw (as per first two choices)?
Container will log the Ex. (Can someone please add few more words or add a related link, I missed to notice this in
EJB 3 In Action)
Where container logs?
Thanks.