Disabling and reloading enterprise java beans using database trigger programs
Abstract
Methods and systems for maintaining coherency of data such as between data contained in executable code and a source location of the data (e.g., a table of a database). In a particular embodiment, an enterprise Java Bean (EJB) is hydrated with data retrieved from a database data structure having a trigger defined thereon. The trigger is fired in response to modifying the data structure. In response to firing the trigger, it is determined whether an invalidation criterion for the EJB has been satisfied. If so, the EJB is invalidated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 45.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for ensuring coherency of data in a computer system, comprising: retrieving data from a table having a trigger defined thereon; placing the data within an Enterprise Java Bean (EJB) configured to utilize the data and configured with a property indicating that, during execution, the data will be accessed from the EJB instead of the table; modifying the table; in response to modifying the table, firing the trigger; and in response to firing the trigger, invalidating the EJB.
- Claim 2Independent Claim
The method of claim, further comprising determining whether the data is located in working storage in response to firing the trigger defined on the table.
- Claim 3Depends on #1
The method of claim 1 , wherein the trigger is an AFTER trigger.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗