Patent ID: 7300123

Claim:
A container managed persistence entity bean system in a data processing system, comprising: runtime code, wherein the runtime code provides functions to a plurality of bean types; a concrete bean, wherein the concrete bean receives requests from a client to locate an instance of a container managed persistence bean and, in response to receiving the requests from the client, locates the instance of the container managed persistence bean by calling the runtime code, wherein the concrete bean calls inherited bean specific functions prior to calling the runtime code, the inherited beam specific functions being written by a specific bean type provider, and wherein the concrete bean locates a specific container managed persistence bean instance by creating a container managed persistence bean associated with a bean type, but not associated with a specific bean instance; an injector, wherein the injector converts input parameters from a format used by the concrete bean into a formatted input for use in accessing a backend when called by the runtime code; a bean adapter binding, wherein the bean adapter binding provides access to bean specific information for a particular container managed persistence bean by providing at least one of the injector, an extractor, and bean method information to the runtime code in response to a call from the runtime code for access, wherein the extractor receives data for a given instance of a container managed persistence bean from the backend and formats data into a format used by the concrete bean; a function set, wherein the function set provides access to the backend in response to being called by the runtime code, wherein the function set uses the formatted input created by the injector to access the backend by executing beam-specific and backend specific data access logic; and a data cache, wherein the data cache receives the data from the extractor and holds the data received by the extractor, wherein the data is data for a given instance of a container managed persistence bean, wherein the data includes at least one of a Java primitive and an object reference, and wherein the backend is a data storage system.