If you don't want to taint your master exam, quit reading now.
I'm pleased with the overall cleanliness of the final mock exam in the back of the book. The questions were 'hard', but not made that way through unreasonable means.
But I have a question about the very last question. It says that the TransactionRequiredException will get thrown to inform the client that the bean needed to be called within the context of a transaction. I was about to say 'yes', but switched it to 'no' because it's the specific method that needs a transaction, not the bean, right? You could specify all methods with an asterisk, but that's still methods within a bean, not the bean itself.
I guess when you say 'call a bean', doesnt it mean 'call a bean method'???, in that case the question stands correct because a bean (bean method) needs to be called in a transaction context, otherwise a TransactionRequiredException will be thrown.
correct me if i'm wrong.
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Devious Experiments for a Truly Passive Greenhouse!