Industrial IoT Authors: Elizabeth White, Stackify Blog, Yeshim Deniz, SmartBear Blog, Liz McMillan

Related Topics: Industrial IoT

Industrial IoT: Article

XML, RDBMS and OODBMS: Peaceful Coexistence?

XML, RDBMS and OODBMS: Peaceful Coexistence?

In this regular column I focus on the business aspects of XML and databases. This time I'm going to consider the relationship between object-oriented databases and relational databases for data persistence and recovery, and how these two can coexist - with XML providing the bridge between the two.

Object-oriented databases came into existence to offer a data model alternative to the one used by relational databases for persisting data. The need for a persistence model of this type arose with the advent of object-oriented programming languages. Object-Oriented Database Management Systems (OODBMSs) are a natural fit for persisting objects in the OO world. The goal of object-oriented databases is to maintain a direct correspondence between real-world and database objects. Relational database systems have been around for many years to persist and manage large amounts of data and are the accepted standard technology for creating back-office data stores. The integration between OO and relational database management systems isn't straightforward, but XML - a technology that has only very recently appeared on the horizon - offers a mechanism that allows both kinds of database systems to coexist in distributed Internet applications.

In this <e-BizML> column I would like to discuss how XML offers object-oriented databases a chance to survive in the DBMS wars. XML offers a standard data format that allows objects created in programming languages like Java to exist in a form that can be transported across the Internet and processed by applications at both ends of the wire. This data format can be leveraged in both Relational Database Management Systems (RDBMSs) and OODBMSs.

RDBMS, Object-Oriented Programming Languages and the Internet
The popularity of relational database management systems predates the Internet, distributed computer technology and object-oriented programming. RDBMSs are good as large data stores for managing large amounts of data and offer efficient techniques for data storage and retrieval. They use two-dimensional tables as the basic structure for storing data.

The Internet offers a ubiquitous medium for transporting objects from one application (or application tier) to another application (or application tier). However, the data still has to be stored in a data store, retrieved by an application, manipulated in the application's domain, transported to an application across the Internet, extracted into the application, manipulated and then stored in a persistent store. The data may also be processed/modified at several other stages in this process. Thus data has to be transformed between several formats at various stages. The data stores are typically RDBMSs. Figure 1 illustrates the transformation of object-oriented data to relational and back.

Because relational databases store data as two-dimensional tables, they are not ideally suited for data manipulation, since data itself may be expressed in the form of complex structures. In object-oriented languages data manipulation is much more efficient, expressing data as objects with rich features - including inheritance, polymorphism and encapsulation - for maintaining relationships between objects. When the data from an object-oriented world is persisted in a two-dimensional table format, hierarchical relationships between objects aren't preserved, making persistence and recovery of data a complex task.

Does OODBMS Offer a Solution?
Object-Oriented Database Management Systems (OODBMSs) emerged upon the scene in the 1990s, after object orientation had become the name of the game. Object-oriented database management systems are good for manipulating data since they store it in object form, preserving the relationships between the objects. An OODBMS works under the assumption that databases should store data objects that map directly to the objects defined in the programming language used for writing the application. These systems are based on object models that preserve the hierarchical relationships between objects, retain rich data types and offer a more sophisticated translation from objects to stored data. Figure 2 illustrates the role that object-oriented databases play in object persistence.

However, the bottom line is that data stores for back-office systems are RDBMSs. So a mapping from object to relational and vice versa needs to be created in order to offer persistence capabilities via OODBMSs. The only way object-oriented databases will be able to replace RDBMSs for data persistence and recovery would be if large amounts of data stored in relational systems were migrated to object databases. Moreover, the retrieval and search wouldn't be efficient. In his book, Com and DCOM (Wiley, 1997), Roger Sessions discusses this under the heading "The Great Fraud" (pages 211-212). While I don't feel as strongly as Sessions does about the cons of object-oriented databases, I do agree that migrating this data just isn't a feasible option.

Besides, if it were to prove feasible, OODBMSs would seriously threaten the continued existence of RDBMS vendors. In my opinion, OODBMSs made a play for grabbing territory in the persistence game and have settled for operational persistence (temporary persistence for data in transit) as opposed to replacing RDBMSs as the main persistent stores - mainly because RDBMS vendors have already staked claims in that territory. Besides, relational databases are very good at what they are intended for - storing, searching and retrieving data.

Maybe XML Offers a Solution
XML and databases exist in a relationship of mutual symbiosis. The future of Internet-based business applications is dependent on their ability to exchange information between different data stores or database systems. This in turn is related to the ability of applications to generate XML documents efficiently from data stored in databases. XML allows data to be stored in a format more suited to object-orientation. XML documents are composed of node structures that are made available to object-oriented applications through DOM or SAX parsers. Thus the tools for processing XML documents deal with sets of hierarchical nodes. XML documents can be easily stored as text fields in relational databases. And at the same time XML nodes can be easily parsed into elements that store the data in object form and maintain the hierarchies of the nodes.

So what's different? you might ask. Data from relational databases still needs to be converted into XML format. Well, relational database vendors are providing the means to query data stored inside flat tables and return the results in the form of XML structures. For example, Oracle - the giant in relational databases - has added features to their 8i product allowing XML documents that have been persisted in relational tables to be queried as XML. This is done by allowing a field in the database to hold an XML document and other fields to hold information about the document. Relational databases can be used to store XML structures, but when the node hierarchy gets deep, persisting relationships involves joins across many tables and becomes very complex and inefficient.

OODBMSs offer a more natural fit for transforming to and from XML. The hierarchy structure in OO databases maps cleanly to the hierarchy in XML documents. On the other hand, relational databases are enhancing their products by integrating with XML servers to provide more sophisticated means of interchanging data in XML format. Remember: the majority of computing data across the world is still stored in RDBMSs.

There's no doubt, however, that XML provides a bridging technology between the two otherwise heterogeneous database systems, OODBMSs and RDBMSs. Since XML data can be extracted from relational databases - and this is a direction strongly supported by the RDBMS lobby - this data can now be distributed into any system that can offer XML transformations (see Figure 3).

XML thus provides the bridge between various kinds of persistence systems and makes it unnecessary for object and relational databases to offer some means of direct conversion between one another, i.e., between the two forms of data persistence. All this should hardly be surprising: XML's express purpose is to provide a ubiquitous mechanism for the expression of data structures.

XML Still Needs a Data Store! It may seem that XML is a great technology for persisting data; however, this isn't its actual purpose. Remember that XML is only a data format. It provides a means to express data in transit between persistent systems. It still needs a database to actually persist the data. This database may be object-oriented or relational.

Consolidation of Two Technologies
An emerging market trend is the consolidation of OODBMS and XML technologies. Object-oriented databases initially made a play for persistent stores for large amounts of data generated from object-oriented processes. This didn't make much headway. Some of the leading OO database vendors are reevaluating their original strategy and jumping on the XML bandwagon. One of these is Object Design, which has now restructured their core products to focus on XML servers. In fact, they changed their name to eXcelon to better represent their market strategy. Although the eXcelon server uses the original OODBMS product, ObjectStore, for persistence, the latter seems to be a smaller factor in the company's direction. Another example is POET's Content Management Suite that is based on their Object Server Suite OODBMS product.

Marking Up
XML, relational databases and object-oriented databases are combining to make an uneasy but inevitable alliance. XML is the unifying technology. Despite the differences, both the RDBMS and OODBMS camps are in agreement that XML is the ubiquitous data formatting technology for today's e-business solutions. It will be interesting to see how these alliances and consolidations shape the future of data persistence in the next couple of years.

I usually shy away from books that have the word Manager anywhere in their title - not because I lack respect for managers but rather because the information presented in such books tends not to be very useful for me.

Kevin Dick's XML: A Manager's Guide, published in 1999 by Addison Wesley, turned out to be the exception that proves the rule. This is a great book that provides an excellent overview of how XML plays a role in e-business applications. The author sets the stage for the book in his preface by offering a matrix of the categories of readers who may read the book and the benefits it provides to them. This is very useful in assessing what exactly you can expect from the book. The author also offers a matrix that provides you with a roadmap for reading the book according to which category of reader you happen to be.

Chapter 1 describes the business problem that XML is designed to solve. The author writes in a very clear, no-nonsense style and makes his points succinctly. Chapters 2 and 3 review XML concepts - brief explanations are provided showing how elements of XML fit into business solutions and simple examples are given to illustrate the various concepts.

Chapter 4 gives an overview of the categories of XML tools in the market today and illustrates how these fit into a business framework. The text is accompanied by clear diagrams that serve to illustrate the author's discussion. Chapters 5-6 discuss how XML plays a role in business processes and enterprise applications. Chapter 7 gives five examples of the categories of XML vendors in the market today.

I found Chapters 4-7 the most useful in the book. The discussions provide comprehensive information that I haven't found elsewhere in so concise a style. There isn't much depth to the discussions but the overviews are very good and give the reader a "big picture" view.

In fewer than 200 pages, Dick covers quite a bit of ground. Minor irritants were the blue sidebars on every page. Most of these merely stated the obvious - such as, "Relationships between documents are important." I basically ignored these as nothing more than blurbs of information already covered in the text. This is not a book for developers trying to write applications using XML; such readers should try books like Professional XML by Wrox Press (published January 2000). But XML: A Manager's Guide is a good reference for readers trying to get a handle on what role XML plays in today's business world. You won't get very detailed information but you will get a decent overview of the technology and of how it relates to business enterprise.

More Stories By XML News Desk

The XML-Journal News Desk monitors the world of XML and SOA /Web services to present IT professionals with updates on technology advances and business trends, as well as new products and standards.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

@ThingsExpo Stories
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
DXWorldEXPO LLC announced today that "Miami Blockchain Event by FinTechEXPO" has announced that its Call for Papers is now open. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Financial enterprises in New York City, London, Singapore, and other world financial capitals are embracing a new generation of smart, automated FinTech that eliminates many cumbersome, slow, and expe...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. Digital Transformation (DX) is a major focus with the introduction of DXWorldEXPO within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of bus...
With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER give you detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPO also offers s...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...