Method for providing stand-in objects
Abstract
A method for providing stand-in objects, where relationships among objects are automatically resolved in an object oriented relational database model without the necessity of retrieving data from the database until it is needed. A “fault” class is defined, as well as fault objects whose data haven't yet been fetched from the database. An object that's created for the destination of a relationship whenever an object that includes the relationship is fetched from the database. When an object is fetched that has relationships, fault objects are created to “stand-in” for the destination objects of those relationships. Fault objects transform themselves into the actual enterprise objects—and fetch their data—the first time they're accessed. Subsequently, messages sent to the target objects are responded to by the objects themselves. This delayed resolution of relationships occurs in two stages: the creation of a placeholder object for the data to be fetched, and the fetching of that data only when it's needed. By not fetching an object until the application actually needs it, unnecessary interaction with the database server is therefore prevented.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for delaying object instantiation comprising: instantiating a first object having at least one relationship with at least one second object; creating a fault object in place of said at least one second object; associating said first object with said fault object; receiving a message by said fault object; accessing a database system; instantiating said at least one second object wherein said instantiating further comprises loading data from said database system into said at least one second object; and replacing said fault object with said at least one second object in relation with sa
- Claim 2Depends on #1
The method of claim 1 wherein said instantiating said first object further comprises defining at least one destination for said at least one relationship.
- Claim 3Depends on #1
The method of claim 1 wherein said at least one relationship is a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- Hosking et al., "Object Fault Handling for Persistent Programming Languages: A Performance Evaluation", OOPSLA '93 ACM, pp. 288-303, 1993.