Abstract
Contrary to a common misconception, JDO is not a replacement for Enterprise JavaBeans (EJBs). The EJB specification is primarily concerned with sharing access to remote objects and controlling distributed transactions, while JDO is primarily concerned with an object’s relationship to persistent storage. Nevertheless, EJB containers and JDO provide overlapping services for managing objects. Both provide transactional semantics for objects, and both entity beans and persistent objects have mechanisms that tie object state to persistent storage. Although the overlap in services fosters the misconception that JDO and EJBs are in competition, in fact, JDO can be used with EJBs, and to some extent, it eases their development.
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 subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2003 David Ezzio
About this chapter
Cite this chapter
Ezzio, D. (2003). Using JDO in Enterprise JavaBeans. In: Using and Understanding Java Data Objects. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0767-2_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0767-2_11
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-043-0
Online ISBN: 978-1-4302-0767-2
eBook Packages: Springer Book Archive