1. A method of sharing metadata, comprising: receiving a plurality of requests to access a resource, creating a program unit for each of the plurality of requests; creating an execution representation of the metadata object of the resource; and sharing the execution representation of the metadata among the plurality of program units.