Timer service computer program components
AssigneeSap SE
InventorsHristo K. Sabev, Georgi N. Stanev
Life of this patent
Estimating the term…
Abstract
A method and apparatus for a timer service for program components. An embodiment of a method includes receiving a request for a timer for a program component. The method further includes establishing the timer for the program component, where the program component timer is implemented as a shared session. A timeout is received for the generated program component timer, and the timeout is resolved for the program component.
Claims20
A method comprising:
- at a processor-implemented timer service including an internal timer module, an adapter module, and a session management module, receiving a request for a timer for a program component, the request being received via the adapter module, the adapter module configured to adapt a timer interface, accessible to program components, for use with the internal timer module of the timer service;
- establishing with the session management module the timer for the program component, the program component timer being implemented as a shared session based on a session timeout structure and having a timeout facility provided by the session management module, the session management module being part of a session management framework for managing connections between a client and a server and providing a single, centralized storage for timers implemented as shared sessions, the storage being a shared memory that is accessed by multiple applications including Enterprise JAVABeans (EJBs), residing on different servers;
- receiving a timeout for the program component timer;
- and
- resolving the timeout for the program component.
A timer service for a program component comprising:
- a processor-implemented internal timer module, the internal timer module providing timers for program components;
- a processor-implemented session management module that is part of a session management framework for managing connections between clients and a server and providing a single, centralized storage for timers implemented as shared sessions based on a session timout structure, the storage being a shared memory that is accessed by multiple applications, including Enterprise JAVABeans (EJBs), residing on different servers, the session management module creating shared sessions, the timers for program components being represented by shared sessions;
- and
- a processor-implemented adapter module, the adapter module adapting the internal timer module to an interface module, the interface module including a plurality of interfaces by which a program component can invoke operation of the timer module.
A server comprising:
- a processor to run an application, the application including one or more program components;
- and
- a memory to hold applications for the processor, the memory to include a container to support the program components, the container to provide for the timer service for the program components, wherein the timer service provides to the program component a timer implemented as a shared session based on a session timeout structure and having a timeout facility provided by a session management framework that manages connections between a client and the server and provides a single, centralized storage for timers implemented as shared sessions, the storage being a shared memory that is accessed by multiple applications, including Enterprise JAVABeans (EJBs), residing on different servers.
A machine-readable storage medium having stored thereon data representing sequences of instructions that, when executed by a machine, cause the machine to perform operations comprising:
- receiving a timer service request for a program component;
- generating the timer for the program component, the timer being implemented as a shared session in shared memory based on a session timeout structure provided by a session management framework for managing connections between a client and a server, the shared memory providing a centralized storage mechanism for timers for program components and accessible by multiple applications, including Enterprise JAVABeans (EJBs), residing on different servers;
- and
- providing a timeout for the program component using the shared session.
Dependencies are inferred from the claim text.