34.21. Unresolved Issues
This has been a very brief introduction to the problems and design solutions in a persistence framework and service. Many important issues have been glossed over, including:
dematerializing objects
Briefly, the mappers must define putObjectToStorage methods. Dematerializing composition hierarchies requires collaboration between multiple mappers and the maintenance of associative tables (if an RDB is used).
materialization and dematerialization of collections
queries for groups of objects
thorough transaction handling
error handling when a database operation fails
multiuser access and locking strategies
security—controlling access to the database
Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.