Patent ID: 7490330

Claim:
A method for servicing requests received by a database system in a multiple-user environment, the method comprising the steps of: spawning a first process executing a first virtual machine instance in response to establishing a first database session between the database system and a first user; spawning a second process executing a second virtual machine instance in response to establishing a second database session between the database system and a second user; responding to requests that are received by the database system in said first session by executing virtual machine code using the first virtual machine instance; responding to requests that are received by the database system in said second session by executing the virtual machine code using the second virtual machine instance; wherein said first virtual machine instance and said second virtual machine instance share access to data stored in a shared state area; wherein said first virtual machine instance and said second virtual machine instance share read-only access to said data stored in said shared state area; wherein said shared state area stores an object class; wherein said first virtual machine instance stores, in session-specific memory associated with said first virtual machine instance, a first value for a static variable associated with said object class; and wherein said second virtual machine instance stores, in session-specific memory associated with said second virtual machine instance, a second value for said static variable associated with said object class.