Patent ID: 7290250

Claim:
A system for determining when an EJB compiler needs to be executed, comprising: a server, having a server version information associated therewith and executing a plurality of compiled EJB classes stored thereon; an ejb-jar file for storing the plurality of compiled EJB classes, together with, for each EJB class therein, a first snapshot of deployment related version information for that EJB class, wherein each snapshot defines a deployment descriptor for the EJB class and the versions of both the EJB classes, and of the server, at the time that particular EJB class was compiled; an EJB compiler that generates wrapper classes for each EJB class as necessary; and a logic that following deployment of one of a new version of a compiled EJB class and a previously compiled EJB class, to a new version of the server, at a later point in time, automatically determines a second snapshot of deployment related version information for the new version of the compiled EJB class and the new version of the server, and compares the first and second snapshots to determine whether the EJB compiler needs to be invoked on the previously compiled and new version of the compiled EJB class and the new version of the server, and if so automatically generates and compiles wrapper classes for the previously compiled and new version of the compiled EJB class, and the new version of the server.