Fastpath redeployment of EJBs
AssigneeInternational Business Machines Corporation
InventorJames Irwin Knutson
Life of this patent
Estimating the term…
Abstract
A system, method, and software program for a fastpath redeployment of an Enterprise Java Bean (EJB). When an EJB is deployed, a copy of it is cached on the server. Thereafter, if the EJB is redeployed, it is compared to the cached copy to determine if the deployment descriptors or remote interfaces have changed. If there has been no change, then the previously deployed EJB is installed on the server, without the need to regenerate and recompile the EJB code.
Claims21
A method for deploying a server-side object on a distributed computer system, comprising the steps of:
- comparing the server-side object to a previously deployed object;
- if a set of deployment attributes of the previously deployed object is the same as a set of deployment attributes of the server-side object, then
- deploying the server-side object using compiled code associated with the previously deployed object;
- and
- if the set of deployment attributes of the previously deployed object is not the same as the set of deployment attributes of the server-side object, then
- generating deployment code according to the set of deployment attributes of the server-side object,
- compiling the deployment code to produce a compiled deployment code, and
- deploying the server-side object using the compiled deployment code.
A computer program product for deploying a server-side object on a distributed computer system, comprising, on a computer-useable medium:
- instructions for comparing the server-side object to a previously deployed object;
- instructions for deploying the server-side object using compiled code associated with the previously deployed object if a set of deployment attributes of the previously deployed object is the same as a set of deployment attributes of the server-side object;
- and
- instructions for generating deployment code according to the set of deployment attributes of the server-side object, compiling the deployment code to produce a compiled deployment code, and deploying the server-side object using the compiled deployment code, if the set of deployment attributes of the previously deployed object is not the same as the set of deployment attributes of the server-side object.
An apparatus for deploying a server-side object comprising:
- a network;
- a data processing system connected to said network;
- a server for receiving said server-side object, connected to said data processing system;
- an archive file containing said server-side object, wherein said archive file includes a set of deployment attributes;
- a stored archive file containing a deployed server object, wherein said stored archive file includes a set of stored deployment attributes;
- wherein the server-side object is compared to the deployed server-side object, and
- if the set of stored deployment attributes is the same as the set of deployment attributes, then the server-side object is deployed using compiled code associated with the deployed server object;
- and
- if the set of stored deployment attributes is not the same as the set of deployment attributes, then the server-side object is deployed using code generated and compiled according to the set of deployment attributes.
Dependencies are inferred from the claim text.