سؤال

what is the difference between JDO (JSR 243) and SDO (JSR 235) in Java; what set of open source providers are available for these java specifications

هل كانت مفيدة؟

المحلول

From this article:

[...] JDO looks at the persistence issue only [...] whereas SDO is more general and represents data that can flow between any J2EE tier, such as between a presentation and business tier.

EclipseLink is one SDO provider, Apache's DB project is one JDO implementation.

نصائح أخرى

For an excerpt you can read the "Request" part on the appropriate JSR pages for JDO and SDO.

In practice and for quick starters: JDO is the father of JPA.

  • JPA is actually used and usable (this is not for granted in the Java EE world), Hibernate and EclipseLink are two well known opensource implmenetations of JPA.

  • SDO: I have neither seen it in any project I've been, nor have I heard about it so far. Reading the Blurb on the JCP Page made me feel that this is one of those overgeneralized and clumsy Java EE standards not designed for real life.

Feel free to ignore SDO for now while digging into JPA a bit.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top