Development vs. Production Mode Default Tuning Values

7-2 Performance and Tuning for Oracle WebLogic Server ■ For higher performance throughput, set the minimum java heap size equal to the maximum heap size. For example: JAVA_HOME\bin\java -server –Xms512m –Xmx512m -classpath CLASSPATH - See Section 5.3.4, Specifying Heap Size Values for details about setting heap size options.

7.2 Development vs. Production Mode Default Tuning Values

You can indicate whether a domain is to be used in a development environment or a production environment. WebLogic Server uses different default values for various services depending on the type of environment you specify. Specify the startup mode for your domain as shown in the following table. The following table lists the performance-related configuration parameters that differ when switching from development to production startup mode. Table 7–1 Startup Modes Choose this mode when . . . Development You are creating your applications. In this mode, the configuration of security is relatively relaxed, allowing you to auto-deploy applications. Production Your application is running in its final form. In this mode, security is fully configured. Table 7–2 Differences Between Development and Production Modes Tuning Parameter In development mode . . . In production mode . . . SSL You can use the demonstration digital certificates and the demonstration keystores provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL. For more information about managing security, see Configuring SSL in Securing WebLogic Server. You should not use the demonstration digital certificates and the demonstration keystores. If you do so, a warning message is displayed. Deploying Applications WebLogic Server instances can automatically deploy and update applications that reside in the domain_nameautodeploy directory where domain_name is the name of a domain. It is recommended that this method be used only in a single-server development environment. For more information, see Auto-Deploying Applications in Development Domains in Deploying Applications to Oracle WebLogic Server. The auto-deployment feature is disabled, so you must use the WebLogic Server Administration Console, the weblogic.Deployer tool, or the WebLogic Scripting Tool WLST. For more information, see Understanding WebLogic Server Deployment in Deploying Applications to Oracle WebLogic Server. Tuning WebLogic Server 7-3 For information on switching the startup mode from development to production, see Change to Production Mode in the Oracle WebLogic Server Administration Console Help.

7.3 Deployment