Optimistic transaction compiler
AssigneeSun Microsystems, Inc.
InventorJean-Francois Arcand
Life of this patent
Estimating the term…
Abstract
A method for updating Enterprise JavaBeans (EJB) classes is provided. Each EJB class is managed by an application server which maintains a database of active EJB classes. The method includes defining an update plug for an existing EJB class and assigning the update plug to the existing EJB. The method also includes compiling the existing EJB class using the update plug to generate a dependent EJB class. The dependent EJB class uses an adapter and a contract to gain access to methods of the dependent EJB class. Each method of the dependent EJB class is associated with an algorithm that defines a locking timestamp.
Claims20
A method for updating Enterprise JavaBeans (EJB) classes, each EJB class being managed by an application server, the application server maintaining a database of active EJB classes, the method comprising:
- defining an update plug for an existing EJB class;
- assigning the update plug to the existing EJB;
- and
- compiling the existing EJB class using the update plug to generate a dependent EJB class, the dependent EJB class using an adapter and a contract to gain access to methods of the dependent EJB class, each method being associated with an algorithm defining a locking timestamp.
A method for managing shared use of Enterprise JavaBeans (EJB) classes, each EJB class being managed by an application server, the application server maintaining a database of active EJB classes, the method comprising:
- assigning an update plug to an existing EJB;
- and
- compiling the existing EJB class using the update plug to generate a dependent EJB class, the dependent EJB class using an adapter and a contract to gain access to methods of the dependent EJB class, each method being associated with an algorithm defining a locking timestamp, the locking timestamp being used to notify whether the dependent EJB has been updated since a last access to the dependent EJB class.
A computer program embodied on a computer readable medium for updating Enterprise JavaBeans (EJB) classes managed by an application server, the computer program comprising:
- a code segment that defines an update plug for an existing EJB class;
- a code segment that assigns the update plug to the existing EJB class;
- and
- a code segment that compiles the existing EJB class using the code segment that defines the update plug to generate a dependent class, the dependent class using an adapter code segment and a contract code segment to gain access to methods of the dependent EJB class, each method being associated with an algorithm code segment defining a locking timestamp.
Dependencies are inferred from the claim text.