Newletter Sign Up
Posts on the
Design Decomposition Blog
Iridium Satellite Collision in Space
You might have seen the recent news reports about the collision between U.S. and Russian communication satellites. The U.S. satellite was one of the Iridium satellites. What wasn’t reported and you probably don’t know is that an object database management system (ODBMS) is an important part of the Iridium system. Even though ODBMSs are a [...]
February 13, 2009
(The Acronym) SOA is (Perhaps) Dead (at Some Companies); Long Live Services
I am now also posting on the Cutter Blog. My initial posting is (The Acronym) SOA is (Perhaps) Dead (at Some Companies); Long Live Services. It is a response to Anne Thomas Manes’ SOA is Dead; Long Live Services on her blog at the Burton Group.
January 9, 2009
Atomicity
The typical definition of an atomic task or process is one that cannot be decomposed further. This is vague and subject to interpretation. The Decomposition Matrix on this site uses a specific definition: A task (for business process diagrams) or a process (for data flow diagrams) is atomic if every input relates to every output [...]
December 3, 2008
Well-Formed Business Process Diagrams
My last posting referenced the criteria for a well-formed business process diagram mentioned in Business Process Driven SOA using BPMN and BPEL by Matjaz B. Juric and Kapil Pant. I am going to expand on their criteria to create a more comprehensive definition of a well-formed business process diagram. To start, here are three criteria [...]
November 18, 2008
Recent Business Process Modeling Books
I recently received two new books on business process modeling. Both books looked interesting because they had great titles. As it turns out, one book is great and the other not so good. The not so good book is Business Process Driven SOA using BPMN and BPEL by Matjaz B. Juric and Kapil Pant. There [...]
October 9, 2008
The Design Decomposition Blog
is written by Doug Barry.

In November 1998, Torsten Stanienda and I wrote an article for IEEE Computer that compared transparent persistence to a call-level interface. The article was based on an exercise Torsten did that compared the ODMG transparent persistence for Java to the JDBC call-level interface. Even though the article goes back some years, the results of Torsten's exercise are worth noting.

Torsten created an example set of classes for Person, Professor, Student, Course, and LectureRoom. He then wrote two sets of code to create, access, and manipulate objects in each of the classes. One set of code used the ODMG Java Binding and the other used the JDBC call-level interface. A summary of the results are shown in the graph below. For this exercise, 496 lines of code were needed using the ODMG Java Binding compared to 1,923 lines of code using JDBC.

What does this mean for you? Granted this is small example, but it does demonstrate the difference in the lines of code needed between transparent persistence and a call-level interface. This can be an advantage when it comes to development costs. The results can be extrapolated to Java Data Objects (JDO) or the ODMG C++ Binding. See transparent persistence (new window). For additional coding examples for transparent persistence, see how to access data in a relational database (new window).

Note that this example does not cover the development time needed to design the best mapping when using an object-relational mapping product. It also does not cover entering this information into the object-relational mapping product so that the mapping layer can be generated. Nevertheless, using transparent persistence with an object-relational mapping products significantly reduces development time. See development costs with object-relational mapping products (new window).

The article's title is "Solving the Java Storage Problem" and it can be downloaded from the IEEE Computer site (new window).

JDBC transparent persistence JDO advantage

Related content for: Transparent persistence vs. JDBC call-level interfaces

More on the general topic: Object-relational mapping (OR mapping) definition

Read more free articles on this site

There are nearly 400 pages of articles on this site with over 50 pages on object-relational mapping.

Search this site for more articles

Custom Search

Browse this site for more articles

Click on the topics below to browse the articles on this site. You can see more detail by clicking on the arrows. This highlights the location of the current article: Transparent persistence vs. JDBC call-level interfaces.

Loading...

Related recent articles from Google News

ZK with Non-relational Database mongoDB
TheServerSide.com
Typically, for relational databases developers either use plain JDBC or some sophisticated object-relational mapping library like Hibernate. This series of small talk will show how developers can develop non-relational database driven ZK applications.

26 Jan 2012 at 1:42pm
Doctrine 2 e Zend Framework 2, un esempio di combinazione vincente
Programmazione.it
Per chi quindi volesse avvalersi di tecniche ORM (Object Relational Mapping) per la propria applicazione basata su Zend Framework non resta che affidarsi a strumenti come Doctrine, cercando di ottenere una sana e proficua convivenza tra i due framework ...

30 Jan 2012 at 11:28pm
NoSQL NewSQL以及其他数据库编程语言
移动Labs
Good bye object-relational mapping. New information management solutions are rapidly being adopted even by large corporations, for instance Nick Tan, from the Commonwealth Bank of Australia ...

17 Jan 2012 at 6:59pm
More related news on: "object-relational mapping"