Q

Is there declarative transaction support in JDO?

Is there declarative transaction support in JDO? If yes, then does that mean it's going to replace entity beans?
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).
This was first published in December 2002

Dig deeper on Java Web Services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close