Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt from SoftSCBCD..

 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please answer the below question,

"Transaction attributes are specified at the ejb-jar file level i.e., they are applicable to all the enterprise beans in the same ejb-jar file"

Is Answer is true or false.

In the quiz it is given false.

But i feel it is true, because we are specifying the transaction attributes in <assembly-descriptior> and it is common for all the ejbs.

Please answer my question.

Thanks in Advance,
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Narasimha,

The answer is false, because transaction attributes are specified at the method level (per bean).

Regards,

Phil.
 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Phil
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!