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.