IP Library Granted Patent US 6,947,955
Granted Patent B2
US 6,947,955 · App. 10/252,323 · Granted Sep 20, 2005

Run-time augmentation of object code to facilitate object data caching in an application server

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,947,955
App. No.
10/252,323
Granted
Sep 20, 2005
Kind
B2
Abstract

An object state caching method can include augmenting a compiled object having at least one referenced method with conditional caching logic. The conditional caching logic can be executed in an execution environment to determine whether to execute the referenced method. If the conditional caching logic determines not to execute the referenced method, the execution of the referenced method can be bypassed. Additionally, the stored object state can be retrieved from a communicatively coupled object cache. Finally, the retrieved object state can be forwarded to a requesting process. If, however, the conditional caching logic determines to execute the referenced method, the referenced method can be executed producing the resultant object state, and, the resultant object state can be cached in the coupled object cache.

Claims (26)

1. An object state caching method, comprising the steps of:

augmenting a compiled object comprising at least one referenced method with conditional caching logic;

executing said conditional caching logic in an execution environment to determine whether to execute said referenced method;

if said conditional caching logic determines not to execute said referenced method, bypassing execution of said referenced method, retrieving a stored object state from a communicatively coupled object cache, and forwarding said retrieved stored object state to a requesting process; and,

if said conditional caching logic determines to execute said referenced method, executing said referenced method, said execution producing said resultant object state, and, caching said resultant object state in said coupled object cache.

2. The method of claim 1 , wherein said caching step comprises the steps of:

detecting an exception during said execution of said referenced method; and,

responsive to said detection, bypassing said caching step.

3. The method of claim 1 , wherein said caching step comprises the steps of:

detecting an exception during said execution of said referenced method;

identifying said detected exception;

consulting a table of exceptions to determine whether despite said identified exception, said resultant object state can be cached; and,

if said table of exceptions permits caching of said resultant object state despite said identified exception, performing said caching step, but if said table of exceptions does not permit caching of said resultant object state despite said identified exception, bypassing said caching step.

4. A machine readable storage having stored thereon a computer program for object state caching, said computer program comprising a routine set of instructions which when executed cause the machine to perform the steps of:

augmenting a compiled object comprising at least one referenced method with conditional caching logic;

executing said conditional caching logic in an execution environment to determine whether to execute said referenced method:

if said conditional caching logic determines not to execute said referenced method, bypassing execution of said referenced method, retrieving a stored object state from a communicatively coupled object cache, and forwarding said retrieved stored object state to a requesting process; and,

if said conditional caching logic determines to execute said referenced method, executing said referenced method, said execution producing said resultant object state, and, caching said resultant object state in said coupled object cache.

5. The machine readable storage of claim 4 , wherein said caching step comprises the steps of:

detecting an exception during said execution of said referenced method; and,

responsive to said detection, bypassing said caching step.

6. The machine readable storage of claim 4 , wherein said caching step comprises the steps of:

detecting an exception during said execution of said referenced method;

identifying said detected exception;

consulting a table of exceptions to determine whether despite said identified exception, said resultant object state can be cached; and,

if said table of exceptions permits caching of said resultant object state despite said identified exception, performing said caching step, but if said table of exceptions does not permit caching of said resultant object state despite said identified exception, bypassing said caching step.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2013
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: INTELLECTUAL DISCOVERY, INC.
Reel/Frame 030628/0554 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 23, 2002
From: COX, JOHN S.; CUOMO, GENNARO A.; DAUGTREY, ERIK ALAN; MARTIN, BRIAN KEITH
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 013322/0328 →