Issues in Persistence

The application programmer is typically concerned with the business logic that must be developed to implement the processing involved in a use case. Adding persistence to the objects that implement this logic (business objects) engenders a number of issues:

Adding persistence to an application design complicates the run-time flow. If an RDB (relational database) or OODB (object-oriented database) is being used as the persistence store, it is typically implemented as a set of processes running on the application host or another machine. Debugging the run-time flow becomes more complicated, since:

Performance may be dramatically diminished by using a database. Anyone who has ever written embedded SQL in a traditional C or C++ based RDB implementation knows that after all of the code is written and tested, the real work begins. Tweaking the SQL to optimize the performance of the application is a difficult and time-consuming task.

© 1998 by Wrox Press. All rights reserved.