JDO defines pessimistic or "data store" transactions as well as optimistic transactions. If an underlying data store does not support either of these, they can be simulated by the JDO implementation. When JDO is used within a J2EE-compatible application server environment, the transactions can be integrated with the application server's distributed and declarative transaction management.
The success of JDO does not necessarily mean the end of entity beans. Entity beans present other benefits to developers besides persistence management, including life- cycle management, security, remote and local access, etc. JDO can be a complementary technology to EJB. For example, JDO can be used by a developer as the persistence technology for bean-managed persistence (BMP) and JDO may be used by an EJB container vendor as the persistence technology for container-managed persistence (CMP).
Dig deeper on Java Web Services
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.