Patent ID: 7296255
Filing Date: 2007-11-13
Classification: G06F,Y10S

Abstract:
1. An incremental deployment method for deploying modules on a server's disk, comprising the following steps: a. construct a deployable modules list in an application, wherein the deployable module list contains at least one deployable module; b. if there are deployable modules without corresponding entries in the application's deployment descriptors, create corresponding entries in the application's deployment descriptors for the deployable modules; c. if the application's deployment descriptors contain entries that are not in the list of deployable modules, remove each deployment descriptor entry that is not in the list of deployable modules; d. for each module in the list of deployable modules, if any attributes are not included in the corresponding deployment descriptor entry for the current module, add the attributes to the deployment descriptor entry, if any of the attributes are included in the corresponding deployment descriptor entry for the current module, but have a different value, change the value of the deployment descriptor entry to match that of the associated deployable module's value; e. for each module entry in the deployment descriptors, if any of the attributes are not included in the associated deployable module, remove them from the deployment descriptor; f. if the server is not running and if no modules are in the list of deployable modules, delete the deployment descriptors from the server's disk; g. else if no modules are in the list of deployable modules, remove the application from the server and delete the deployment descriptors from the server's disk; h. else if modules were removed from the list of deployable modules, remove the application from the server and redeploy the application onto the server's disk using the modified deployment descriptors; i. else if deployment descriptor entries were modified, refresh the application configuration on the server's disk by rereading and applying the modified deployment descriptors; j. else if the list of deployable modules is empty, do nothing; k. else if the application is not deployed on the server, deploy the application onto the server's disk using the modified deployment descriptors; l. else if the application is deployed, but not running, remove it from the server and redeploy the application onto the server's disk using the modified deployment descriptors; m. else obtain the list of modules currently deployed on the server, remove each one from the list of modules to deploy, and deploy each module in the list of modules onto the server's disk.