IP Library Granted Patent US 8,261,297
Granted Patent B2
US 8,261,297 · App. 12/117,209 · Granted Sep 4, 2012

Method and arrangement for re-loading a class

Assignee: Zeroturnaround Ou
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 8,261,297
App. No.
12/117,209
Granted
Sep 4, 2012
Kind
B2
Abstract

The method is for deploying an input class in a computer readable memory. A state class is created that has at least one field and at least one proxy method and a behavior class version that includes at least one method on the basis of the input class. At least one method call of the state class is redirected to the behavior class version. Also, an arrangement and a computer-software are disclosed.

Claims (27)

1. A computer executable method for deploying an input class during runtime in a computer virtual machine, comprising:

creating by a processor during runtime on a basis of the input class a state class comprising at least one field and at least one proxy method and on the basis of the new revision of the input class a behavior class version comprising at least one method, and

redirecting by a processor during runtime at least one method call of the state class to the behavior class version through the proxy method,

wherein the method is performed without restarting the virtual machine and without establishing a safe state in the virtual machine, where achieving a safe state means selectively preventing processing pipeline operations related to the input class.

2. A method according to claim 1 , wherein the input class is a Java™ class compatible with the first, second or third edition of the JAVA™ Language Specification and the virtual machine is compatible with the first or second edition of the JAVA™ Virtual Machine Specification.

3. A method according to claim 1 , wherein a method call of the state class is redirected through the proxy method to a behavior class version using a redirecting service.

4. A method according to claim 3 , wherein the method call of the state class is redirected to the behavior class version using reflection.

5. A method according to claim 1 , wherein the behavior class version, to which the method call is redirected, is determined during runtime.

6. A method according to claim 1 , wherein a name of the behavior class comprises version information.

7. The method of 1 , wherein the computer virtual machine loads and executes bytecode representations of the input classes, and does not itself provide a way to load a new revision of an existing input class.

8. A system for deploying an input class in a computer virtual machine during runtime, comprising:

a processor; and

a computer readable memory including instructions for implementing a computer virtual machine connected to the processor;

wherein the processor is configured to perform the steps of

creating during runtime of the computer virtual machine from the input class a state class comprising at least one field and at least one proxy method,

creating during runtime of the computer virtual machine on the basis of the new revision of the input class a behavior class version comprising at least one method, and

redirecting during runtime of the computer virtual machine at least one method call to the state class to the behavior class version through the proxy method,

wherein the redirecting takes place without restarting the virtual machine and without establishing a safe state in the virtual machine, where establishing a safe state means selectively preventing processing pipeline operations related to the input class.

9. The system of claim 8 , wherein the computer virtual machine is configured to load and execute bytecode representations of the input classes, and is not configured to provide a way to load a new revision of an existing input class.

10. The system of claim 8 , wherein the input class is compatible with the first, second or third edition of the JAVA™ Language Specification and the virtual machine is compatible with the first or second edition of the JAVA™ Virtual Machine Specification.

11. A computer executable method for deploying a new revision of an input class in a computer virtual machine during runtime, comprising:

creating by a processor during runtime on a basis of the input class a state class comprising at least one field and at least one proxy method, and on a basis of the new revision of the input class a behavior class version comprising at least one method, and

switching from using a previous input class revision to using a new input class revision by having a redirecting service redirect method calls to the latest behavior class version through the proxy method,

wherein the redirecting takes place without restarting the virtual machine and without establishing a safe state in the virtual machine, where establishing a safe state means selectively preventing processing pipeline operations related to the input class.

12. A method according to claim 11 , wherein a name of the behavior class comprises version information.

13. A method according to claim 11 , wherein the input class is compatible with the first, second or third edition of the JAVA™ Language Specification class and the virtual machine is compatible with the first or second edition of the JAVA™ Virtual Machine Specification.

14. The method of claim 11 , wherein the computer virtual machine loads and executes bytecode representations of the input classes, and does not itself provide a way to load a new revision of an existing input class.

Assignments (4)
CHANGE OF NAME Recorded Nov 7, 2017
From: ZEROTURNAROUND OÜ
To: ZEROTURNAROUND AS
Reel/Frame 044393/0495 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 15, 2011
From: AKTSIASELTS WEBMEDIA
To: ZEROTURNAROUND OU
Reel/Frame 026596/0752 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 7, 2011
From: WEBMEDIA AS
To: ZEROTURNAROUND OU
Reel/Frame 026552/0377 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 22, 2008
From: KABANOV, EVGUENI
To: WEBMEDIA AS
Reel/Frame 021270/0913 →
Priority Claims (1)
FI 20070366 · May 9, 2007 · national
Continuity (1)
Related Publication 20080282266A1 · Nov 13, 2008