Abstract
Much of the work surrounding the design and development of enterprise applications involves decisions about how to coordinate the flow of persistent data. This includes when and where to cache data, when to apply it to a persistent store (typically the database), how to resolve simultaneous attempts to access the same data, and how to resolve errors that might occur when an action occurs that violates a constraint in the database. A reliable database is capable of handling these issues at a low level—in the database tier—but these same issues can exist in the middle (application server) and client tiers as well, and typically require special application logic. For example, a database provides built-in concurrency control through pessimistic locking support, whereas an application may choose to use an optimistic locking strategy to achieve a result more optimized for performance.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Jonathan Wetherbee
About this chapter
Cite this chapter
Wetherbee, J., Rathod, C., Kodali, R., Zadrozny, P. (2013). Transaction Support in EJB. In: Beginning EJB 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4693-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4693-0_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4692-3
Online ISBN: 978-1-4302-4693-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)