This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes question about DD. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "question about DD." Watch "question about DD." New topic
Author

question about DD.

youngwoo seo
Greenhorn

Joined: May 28, 2004
Posts: 8
hi guys.
i got an question about the transaction-related with DD.
the question is :

Which of the following deployment descriptor element specifies whether the enterprise bean is associated with container-managed or bean-managed transaction demarcation (select the best answer):

..
b. <transaction-type>
..
..

the answer is b.
but the explanation is that :

B) is correct. Note: This element is used only in session and message-driven beans because it is mandatory for entity beans to use container-managed transaction demarcation.

from this explanation, i am so complicated. Does this explanation means that the <transaction-type> tags is used only in session, message-driven, and entity bean? or what else?

i am so nervous about the exam. i have exam on this sunday...but there are too many things to memorize and understand the complicate principal about EJB...

Thx in advanced
mini mehta
Ranch Hand

Joined: Oct 22, 2000
Posts: 120
Originally posted by youngwoo seo:
hi guys.
i got an question about the transaction-related with DD.
the question is :

Which of the following deployment descriptor element specifies whether the enterprise bean is associated with container-managed or bean-managed transaction demarcation (select the best answer):

..
b. <transaction-type>
..
..

the answer is b.
but the explanation is that :

B) is correct. Note: This element is used only in session and message-driven beans because it is mandatory for entity beans to use container-managed transaction demarcation.

from this explanation, i am so complicated. Does this explanation means that the <transaction-type> tags is used only in session, message-driven, and entity bean? or what else?

i am so nervous about the exam. i have exam on this sunday...but there are too many things to memorize and understand the complicate principal about EJB...

Thx in advanced


It means what it says, As you must already know that Entity bean always have Container managed transactions. So <transaction-type> is Container for entity bean by default, so there is no need to put that in the DD.

I hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about DD.
 
Similar Threads
Having both Remote & Local Component interfaces to a Bean?
ejb transaction and threading issues
Doubts in Mock exam questions.
Doubt on Enthuware mock regarding MDBs
Long Awaited - Answers to batches #2, #3, #11