InterviewSolution
| 1. |
Define Transaction Demarcation? |
|
Answer» TRANSACTION demarcation ALWAYS wraps a sequence of actions, such as a single request, a single method, or a section of code within a method. The demarcation initializes some transactional behavior before the demarcated area begins, then ENDS that transactional behavior when the demarcated area ends. The application server uses these DEMARCATIONS to determine the appropriate calls to the Transaction Manager object. Transaction demarcation always wraps a sequence of actions, such as a single request, a single method, or a section of code within a method. The demarcation initializes some transactional behavior before the demarcated area begins, then ends that transactional behavior when the demarcated area ends. The application server uses these demarcations to determine the appropriate calls to the Transaction Manager object. |
|