Deployment Issues: Transactions
This chapter presents an overview of transaction concepts and how they relate to EJBs. We start by talking about what a transaction is both within the context of J2EE (for example, the notion of transaction scope and propagation) and more generally, such as the transaction ACID properties and the two-phase commit protocol. We examine the two kinds of transaction supported by EJB servers, namely container-managed and bean-managed transactions. To define transaction scope, the former requires the use of XML deployment descriptors. The latter requires the use of the javax. transaction package. Invariably, multiple transactions will operate within an application server. Managing their interactions and isolation is the subject of Section 27.6. Finally, we discuss the impact of exceptions on transaction behaviour.
KeywordsPropa Hunt J2EE
Unable to display preview. Download preview PDF.
- Date, C. J. (1999). An Introduction to Database Systems. Addison Wesley, Reading, MA.Google Scholar