BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Features > 2004

Oscillating Between Objects and Relational: The Impedance Mismatch

By Dan Shusman

February 15, 2004

(Oscillating Between Objects and Relational: The Impedance Mismatch :  Page 1 of 1 )



Impedance mismatch is a term commonly used to describe the problem of an object-oriented (OO) application housing its data in legacy relational databases (RDBMS). C++ programmers have dealt with it for years; it is now a familiar problem to Java and other OO programmers.

The mismatch arises from the inherent lack of affinity between the object and relational models. Problems associated with the impedance mismatch include class hierarchies binding to relational schemas (mapping object classes to relational tables), id generation; concurrency; and others described below.

Obviously, the impact of these issues is tied very specifically to the OO application and relational schema being blended. But the ramifications are clear in terms of time-to-market; costs of design, development and quality assurance; compromised code maintainability and extensibility; and the sizing and topology of the hardware required to ensure expected response and throughput times.

Given the increasing prevalence of the OO RDBMS impedance mismatch, and its corollary—the mismatch between SQL-based applications and object databases (OODBMS)—it's time to look at ways to resolve the problem.

Object Development Languages

Many long-popular technologies—C++, Microsoft's Visual Basic, Borland's Delphi, Java, and a host of open-source languages—provide an object environment in which to implement business logic and user interfaces. To greater or lesser degrees these OO environments implement encapsulation, polymorphism, and inheritance. The benefits of their proper use in application development and evolution are well known.

Object languages (like all programming languages) need to bind to a data store if persistence is required, and that store is often a database. The three most common technologies for databases are relational, object and post-relational (a.k.a. "transactional multidimensional").

Relational Versus Object Database Models

It's useful to contrast the basic differences of the RDBMS and OODBMS models and the approaches to programming in each.

 Page 1 of 1 


BYTE.com > Features > 2004
Dr. Dobb's Media Center

2008 International Mathematica Conference
Dr. Dobb's interviews Wolfram Research's Theo Gray, co-founder and Director of User Interfaces, and Roger Germundsson, Director of Research and Development, about the upcoming 2008 International Mathematica Conference.

How Do You Do Nightly Builds and Tests when there is No Overnight? Software Production in a Geographically Distributed Environment
Attend this Webcast and find out how to overcome common build-test-deploy challenges that affect all members of a distributed team, including: <ul> <li> Communication difficulties, because of time-zone and cultural differences</li> <li> Workflow challenges, like lack of documented procedures and build and test handoff problems</li> <li> Slow build and test cycles, broken builds, and other factors that hamper distributed team productivity</li> </ul> Thursday, September 25, 2005 " 11am PT / 2pm ET </p>

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
simple helix is the most trusted name in the hosting industry! Join us and host with the experts!
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Fast online exception analysis. Capture customer crash data online.
Develop 10 times faster ! ALM, IDE, .Net, RAD, 5GL, Database, 5GL, 64-bit, etc. Free Express version
Wanna see your ad here?
 

web2