Red Hat Web Application Framework 6.1: WAF Developer Guide | ||
---|---|---|
Prev | Chapter 2. WAF Component: Persistence | Next |
Once an object model is described in PDL, the persistent state associated with it may be directly accessed and manipulated by Java code through use of the DataObject, DataAssociation, and DataCollection classes that are part of the WAF persistence API.
Developers can then build upon this API in order to add the behavior required to implement their application. This is generally done by extending DomainObject, an abstract base class that encapsulates a DataObject and uses it to provide persistence capabilities to any derived classes.