In one aspect, the present invention provides a framework in which persistence objects are marshaled, i.e., encapsulated, so that object attributes can be retrieved and written to a persistent storage mechanism (i.e., a data store) efficiently to thereby reduce the performance penalty associated with reading and writing attributes to a file stored on a permanent storage medium such as a disk.