Callback event listener mechanism for resource adapter work executions performed by an application server thread
Abstract
A method, apparatus and system arranged to provide a contract between an application server and a resource adapter that allows the resource adapter to do work (monitor network endpoints, call application components, etc) by submitting work instances to an application server for execution. In the described embodiment, the application server dispatches threads to execute submitted work instances thereby allowing the requesting resource adapter to avoid creating or managing threads directly. In this way, a mechanism for the resource adapter to do its work is provided as well as allowing the application server to efficiently pool threads and have more control over its runtime environment.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗