Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.493 :

Posted: Mon Oct 01, 2012 2:18 am
by ETS User
For someone not proficient with EJB (which is me), the question is confusing. The statement "method2 throws exception" came to me as "throws a checked exception when executed" or maybe "declared with throws Exception". After that, the whole question made little sense to me.

Perhaps, changing the text to "container throws an exception" or even "throws TransactionRequiredException" wouldn't be too much of a hint?

Re: About Question enthuware.oce-ejbd.v6.2.493 :

Posted: Fri Oct 05, 2012 5:52 pm
by admin
The figure has now been updated to make it clear that methodA receives an exception.

thank you for your suggestion!

Re: About Question enthuware.oce-ejbd.v6.2.493 :

Posted: Sun Jan 20, 2013 12:40 pm
by user
In the explanation it says that for method1 it could be the mandatory value, but in that case it will give an exception, like on method2!

Re: About Question enthuware.oce-ejbd.v6.2.493 :

Posted: Sun Jan 20, 2013 3:22 pm
by admin
user wrote:In the explanation it says that for method1 it could be the mandatory value, but in that case it will give an exception, like on method2!
I think you misinterpreting the explanation. It is trying to deduce the final answer by starting with the more possibilities and then eliminating the ones that do not satisfy all the conditions. That's why in the next sentence, it says, "However, its caller does not have any transaction context. Therefore, the value cannot be Mandatory or Supported. "

HTH,
Paul.

Re: About Question enthuware.oce-ejbd.v6.2.493 :

Posted: Sun Jan 20, 2013 5:18 pm
by user
You're right, sorry, this means too many hours studying without a break :\ I dind´t read it right.

Thanks!