PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns

By Jusic, Samir; Peck, Lee Sai | Issues in Informing Science & Information Technology, Annual 2007 | Go to article overview

PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns


Jusic, Samir, Peck, Lee Sai, Issues in Informing Science & Information Technology


Introduction

As computing power increases, the number and variations of software applications built seem to have no end in sight. For a very large percentage of object-oriented applications, there is a constant need to store and retrieve application data. Without a doubt, the most popular storage mechanism is a relational database. However, the applications have to deal with the problem that arises due to the fact that objects (in the object-oriented world) are conceptually different in their structure and semantics from relational databases. In order to save objects in relational databases, there must be a mapping between the two domains. This mapping is often not natural and is described as the impedance mismatch (Ambler, 2002). The fundamental problem between the object-oriented world and the relational databases as the storage mechanism used is often referred to as the impedance mismatch. The object-oriented paradigm is based on proven software engineering principles, whereas the relational paradigm is based on proven mathematical principles. Because the underlying paradigms are different, the two technologies do not work together seamlessly (Ambler, 2002, 2000). To address this problem, a persistence framework is introduced to seamlessly provide the necessary mapping between the two worlds or paradigms.

There are a number of persistence frameworks available in the industry and academia to bridge the gap between object-oriented applications and relational database management systems (RDBMs). However, these frameworks are usually targeted to handle storage into relational databases and have little or no support for other persistence types, such as object-oriented databases and XML files. In addition, working with a persistence framework is rarely simple as it requires fairly complicated configuration to be done by the application developer before being able to use it.

The persistence framework described in this paper has the following goals:

* Provide transparent persistence (little or no intrusion into the application code).

* Support multiple persistence mechanism types, including relational databases, object-oriented databases and XML files.

* Be simple to use with little configuration required.

This paper describes the architecture and design of a transparent persistence framework called PersistF (Persistence Framework). PersistF addresses the inherent complexity of using a persistence framework by minimizing the required configuration that needs to be done by the application developer. In addition, if at all needed, it has a very minimal intrusion of its own code into the target application code, therefore being transparent to the developer. Finally, the system supports multiple persistence mechanism types, including relational databases, object-oriented databases and XML files for storage. In this paper, we focus on the application of software design patterns in the architecture of PersistF.

The remainder of this paper is organized as follows. Section 2 presents a brief overview of the major persistence frameworks currently available. Section 3 describes the features of PersistF. Section 4 describes the architecture and design of the framework as well as the application of design patterns in its implementation. In Section 5 some experiences in using the framework to build a web-based application are presented. Lastly, Section 6 summarizes our work and provides an outline for future work.

Related Work

The issue of object storage is a highly debated one. There are quite a number of research projects and commercial tools available in the market and on the Internet. A brief overview of the most popular tools is presented below. The list, however, is not an exhaustive one.

JDO--Java Data Objects

The Java Data Objects (JDO) (Russell, 2003) API is a Java model's standard interface-based abstraction of persistence. …

The rest of this article is only available to active members of Questia

Sign up now for a free, 1-day trial and receive full access to:

  • Questia's entire collection
  • Automatic bibliography creation
  • More helpful research tools like notes, citations, and highlights
  • Ad-free environment

Already a member? Log in now.

Notes for this article

Add a new note
If you are trying to select text to create highlights or citations, remember that you must now click or tap on the first word, and then click or tap on the last word.
One moment ...
Default project is now your active project.
Project items

Items saved from this article

This article has been saved
Highlights (0)
Some of your highlights are legacy items.

Highlights saved before July 30, 2012 will not be displayed on their respective source pages.

You can easily re-create the highlights by opening the book page or article, selecting the text, and clicking “Highlight.”

Citations (0)
Some of your citations are legacy items.

Any citation created before July 30, 2012 will labeled as a “Cited page.” New citations will be saved as cited passages, pages or articles.

We also added the ability to view new citations from your projects or the book or article where you created them.

Notes (0)
Bookmarks (0)

You have no saved items from this article

Project items include:
  • Saved book/article
  • Highlights
  • Quotes/citations
  • Notes
  • Bookmarks
Notes
Cite this article

Cited article

Style
Citations are available only to our active members.
Sign up now to cite pages or passages in MLA, APA and Chicago citation styles.

(Einhorn, 1992, p. 25)

(Einhorn 25)

1

1. Lois J. Einhorn, Abraham Lincoln, the Orator: Penetrating the Lincoln Legend (Westport, CT: Greenwood Press, 1992), 25, http://www.questia.com/read/27419298.

Cited article

PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns
Settings

Settings

Typeface
Text size Smaller Larger Reset View mode
Search within

Search within this article

Look up

Look up a word

  • Dictionary
  • Thesaurus
Please submit a word or phrase above.
Print this page

Print this page

Why can't I print more than one page at a time?

Full screen

matching results for page

Cited passage

Style
Citations are available only to our active members.
Sign up now to cite pages or passages in MLA, APA and Chicago citation styles.

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences." (Einhorn, 1992, p. 25).

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences." (Einhorn 25)

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences."1

1. Lois J. Einhorn, Abraham Lincoln, the Orator: Penetrating the Lincoln Legend (Westport, CT: Greenwood Press, 1992), 25, http://www.questia.com/read/27419298.

Cited passage

Welcome to the new Questia Reader

The Questia Reader has been updated to provide you with an even better online reading experience.  It is now 100% Responsive, which means you can read our books and articles on any sized device you wish.  All of your favorite tools like notes, highlights, and citations are still here, but the way you select text has been updated to be easier to use, especially on touchscreen devices.  Here's how:

1. Click or tap the first word you want to select.
2. Click or tap the last word you want to select.

OK, got it!

Thanks for trying Questia!

Please continue trying out our research tools, but please note, full functionality is available only to our active members.

Your work will be lost once you leave this Web page.

For full access in an ad-free environment, sign up now for a FREE, 1-day trial.

Already a member? Log in now.