July 2001
Intermediate to advanced
656 pages
15h 51m
English
The PersistenceFacade—as true of all facades—does not do the work itself, but delegates requests to subsystem objects.
Who should be responsible for materialization and dematerialization of objects (for example, a ProductSpecification) from a persistent store?
The Information Expert pattern suggests that the persistent object class itself (ProductSpecification) is a candidate, because it has some of the data (the data to be saved) required by the responsibility.
If a persistent object class defines the code to save itself in a database, it is called a direct mapping design. Direct mapping is workable if the database related code is automatically generated and injected into the ...
Read now
Unlock full access