Patent ID: 7058950
Filing Date: 2006-06-06
Classification: G06F

Abstract:
1. A method for executing a work request by a resource adapter by an application server, comprising: providing a bootstrap context instance by the application server during deployment of the application server, wherein the bootstrap context instance includes an instance of a work manager, obtaining the instance of the work manager from the bootstrap context instance by the resource adapter; creating a work instance by the resource adapter; submitting, using mechanisms provided by the obtained instance of the work manager, the work instance to the work manager in the application server, wherein the application server includes a pool of free threads available to service the submitted work instance; picking up one of the free threads by the work instance; calling a work method in the application server; notifying, by the application server, the resource adapter to prepare to release the thread executing the work instance; and calling, by the application server, a release on the work instance from a separate thread when the execution is completed.