External event interrupt for server-side programs
AssigneeInternational Business Machines Corporation
InventorsVictor S. Moore, Wendi L. Nusbickel
Life of this patent
Estimating the term…
Abstract
A method for handling external events within a server-side program running within a virtual machine can include beginning a first process within the server-side program and responsively launching a first event monitor. The method can broadcast a virtual machine event responsive to an external event occurring outside the virtual machine. The first event monitor can detecting the virtual machine and invoke a first program response.
Claims34
A method for handling external events within a server-side program running within a virtual machine comprising the steps of:
- within said server-side program, beginning a first process;
- launching a first event monitor responsive to said beginning step;
- broadcasting a virtual machine event responsive to an external event, wherein said external event is an event that occurs outside said virtual machine;
- detecting said virtual machine event with said first event monitor;
- and,
- invoking a first program response responsive to said detecting step.
A method for configuring an external event handler within a virtual machine comprising the steps of:
- invoking a server-side program;
- instantiating an event dispatcher within said server-side program configured to broadcast at least one virtual machine event;
- starting at least one process within said server-side program;
- and,
- for each of said at least one process, starting an event monitor, configured to detect at least one virtual machine event and responsively act upon said process that triggered said starting step that starts said event monitor.
A system for handling external events within a server-side program comprising:
- a virtual machine disposed within a server;
- an event processor disposed within said virtual machine, configured to accept at least one external event;
- a server-side program disposed within said virtual machine configured to process at least one client request;
- an event dispatcher disposed within said server-side program configured to broadcast at least one virtual machine event responsive to a broadcast trigger activated by said event processor;
- and,
- at least one virtual machine event monitor, wherein each virtual machine event monitor is linked to a specified process resulting from one of said at least one client requests, and wherein each virtual machine event monitor can detect at least one virtual machine event and responsively act upon said specified process.
A machine readable storage having stored thereon, a computer program having a plurality of code sections, said code sections executable by a machine for causing the machine to perform the steps of:
- within said server-side program, beginning a first process;
- launching a first event monitor responsive to said beginning step;
- broadcasting a virtual machine event responsive to an external event, wherein said external event is an event that occurs outside said virtual machine;
- detecting said virtual machine event with said first event monitor;
- and,
- invoking a first program response responsive to said detecting step.
A machine readable storage having stored thereon, a computer program having a plurality of code sections, said code sections executable by a machine for causing the machine to perform the steps of:
- invoking a server-side program;
- instantiating an event dispatcher within said server-side program configured to broadcast at least one virtual machine event;
- starting at least one process within said server-side program;
- and,
- for each of said at least one process, starting an event monitor, configured to detect at least one virtual machine event and responsively act upon said process that triggered said starting step that starts said event monitor.
Dependencies are inferred from the claim text.