I joined a new team that intensively use SDOs. The concept is new to me but I understand that it is used for unified view of data. I'm used to accessing the Java persistence entities on the service via DAO's and I find the additional SDO layer a bit heavy. Can you give real life scenario where you successfully used SDOs? Thank you in advance.
Asked
Active
Viewed 856 times
1 Answers
2
Note: I'm the EclipseLink SDO lead and a member of the SDO (JSR-235) expert group.
An SDO DataObject
is definitely heavier than a corresponding POJO. Some advantages of SDOs are the following:
- Model can be entirely dynamic, no need for a static model. The generation of static interfaces are optional.
- There is a very rich metamodel wrt
Type
andProperty
vs regular reflection in Java. - When
ChangeSummary
is used you have a built in mechanism for tracking changes. - Data can be queried by path not just property name.

bdoughan
- 147,609
- 23
- 300
- 400
-
We don't use SDO but we reinvented those last two things ourselves and it involved considerable time, effort, and defects. – Pace Dec 18 '13 at 19:51
-
I do some nodeJs + mongodb when I have free time, is the concept of SDO similar to having a model in javascript (since the output of mongodb is JSON your model is dynamic) – bertanasco Dec 19 '13 at 02:16