Patent ID: 7472401

Claim:
A computer-readable storage medium storing instructions for processing an invocation at a dynamically generated wrapper, comprising the steps of: receiving, from an application, an invocation by a wrapper object, the wrapper object instantiated from a wrapper class, the wrapper class extended from a superclass which implements a wrapper interface that includes a pre-invocation handler and a post-invocation handler, the invocation directed to a wrapped resource adapter; initiating pre-processing by calling a pre-invocation handler configured to execute server-side code wherein the server-side code includes transaction processing code; calling the wrapped object; receiving a result from the wrapped object; initiating post-processing by calling a post-invocation handler configured to execute post processing server-side tasks wherein the post-processing server-side tasks include transaction management; and providing the result to the application, thereby enabling the application to access vendor specific extension methods of the wrapped resource adapter; wherein the superclass has a member variable to hold a vendor object, a non-argument constructor to instantiate the wrapper object, and an init method to initialize the wrapper object.