Patent ID: 7769747
Filing Date: 2010-08-03
Classification: G06F

Abstract:
1. A method in a data processing system for generating a service pattern for an enterprise bean model, wherein the service pattern incorporates service data objects, the method comprising: detecting a set of definitions in a file, wherein the set of definitions comprises a service data object definition, a query definition, and a session bean facade definition, wherein the service data object definition is defined by a container-managed persistent entity bean using the session bean facade definition; generating a set of objects in a service pattern based on the set of definitions, wherein the service data object definition is defined by a container-managed persistent entity bean using the session bean facade definition; detecting a change to the set of definitions, wherein the change to the set of definitions is detected by a changed annotation in a source file that has been defined by the set of definitions; at development time, updating the service pattern based on the change to the set of definitions; and responsive to receiving a client retrieval request for a service data object in the service pattern, retrieving a mediator from a mediator meta data based on a meta class of a root service data object associated with the client retrieval request, wherein the client retrieval request is handled in accordance with the query definition at runtime using a transformed query object that comprises at least one field from the container-managed persistent entity bean, and wherein the mediator meta data is obtained from a mediator meta data cache, and wherein the mediator obtains the requested service data object from the updated service pattern.