acm-header
Sign In

Communications of the ACM

Practice

Persistence Programming


Sisyphus pushing a boulder of binary digits up a hill, illustration

Credit: Getty Images, cutout.pro

back to top 

Most software applications require persistence programming of some kind—but what exactly is it, and more importantly, are we doing it right?

A few years ago, my team was working on a commercial Java development project for Enhanced 911 (E911) emergency call centers. We were frustrated by trying to meet the data-storage requirements of this project using the traditional model of Java over an SQL database. After some reflection about the particular requirements (and non-requirements) of the project, we took a deep breath and decided to create our own custom persistence layer from scratch. This ended up being a lot of work, but it also gave us a chance to rethink persistence programming in Java.


Comments


David Simmons

This was a good article on optimizing persistent storage for a specific language like Java. One caveat is that the approach can cause problems if you later need to support other languages. At work we use a mix of Java, C#, PHP for different services and they sometimes need to share a database.


Displaying 1 comment

Log in to Read the Full Article

Sign In

Sign in using your ACM Web Account username and password to access premium content if you are an ACM member, Communications subscriber or Digital Library subscriber.

Need Access?

Please select one of the options below for access to premium content and features.

Create a Web Account

If you are already an ACM member, Communications subscriber, or Digital Library subscriber, please set up a web account to access premium content on this site.

Join the ACM

Become a member to take full advantage of ACM's outstanding computing information resources, networking opportunities, and other benefits.
  

Subscribe to Communications of the ACM Magazine

Get full access to 50+ years of CACM content and receive the print version of the magazine monthly.

Purchase the Article

Non-members can purchase this article or a copy of the magazine in which it appears.