Production Redeployment Overview of Redeployment Strategies

8 Redeploying Applications in a Production Environment 8-1 8 Redeploying Applications in a Production Environment The following sections describe how to use WebLogic Server redeployment to update applications and parts of applications in a production environment: ■ Section 8.1, Overview of Redeployment Strategies ■ Section 8.2, Understanding When to Use Different Redeployment Strategies ■ Section 8.3, Using Production Redeployment to Update Applications ■ Section 8.4, Distributing a New Version of a Production Application ■ Section 8.5, Using In-Place Redeployment for Applications and Standalone Modules ■ Section 8.6, Using Partial Redeployment for J2EE Module Updates ■ Section 8.7, Updating Static Files in a Deployed Application ■ Section 8.8, Updating the Deployment Configuration for an Application

8.1 Overview of Redeployment Strategies

In a production environment, deployed applications frequently require 24x7 availability in order to provide uninterrupted services to customers and internal clients. WebLogic Server provides flexible redeployment strategies to help you update or repair production applications based on their required level of availability.

8.1.1 Production Redeployment

Production redeployment strategy involves deploying a new version of an updated application alongside an older version of the same application. WebLogic Server automatically manages client connections so that only new client requests are directed to the new version. Clients already connected to the application during the redeployment continue to use the older version of the application until they complete their work, at which point WebLogic Server automatically retires the older application. Production redeployment enables you to update and redeploy an application in a production environment without stopping the application or otherwise interrupting the applications availability to clients. Production redeployment saves you the trouble of scheduling application downtime, setting up redundant servers to host new application versions, manually managing client access to multiple application versions, and manually retiring older versions of an application see Section 8.5.1, Redeploying Applications and Modules In-Place for information about these manual steps. 8-2 Deploying Applications to Oracle WebLogic Server Production redeployment can be used in combination with the -distribute command to prepare a new version of an application for deployment. Then, you can deploy the application in Administration mode, which allows you to perform final sanity testing of a new application version directly in the production environment before making it available to clients. See Section 8.4, Distributing a New Version of a Production Application . Production redeployment is supported only for certain J2EE application types, see Section 8.3.3.3, Restrictions on Production Redeployment Updates . For production redeployment procedures and related information, see Section 8.3, Using Production Redeployment to Update Applications .

8.1.2 In-Place Redeployment