Difference between Weblogic development mode and production mode

The blog provides the difference between the Weblogic Server Development Mode and Production Mode features

WebLogic Server Development Mode

  • WebLogic Server domains uses the Sun Java Development Kit (JDK) when running the Development Mode .
  • The WebLogic Server Development Mode enables auto-deployment of applications. The Weblogic Admin Server creates a boot.properties file automatically at the server start up.
  • The WebLogic Server Development Mode also provides the demo certificates for Secure Sockets Layer (SSL) and allows developers a quick and easy available environment up and running to perform deployment, configuration, or security issues
  • The DebugFlag is used to enable the WebLogic Workshop Debugger.
  • Change center is disabled and doesn’t require the Lock and Edit session.
  • JRE Mode is -client, The Client VM provides high performance for applications and applets and reduces application start-up time and memory footprint
  • page_check_seconds in weblogic.xml file is 0. When a jsp is edited and deployed not using the autodeploy folder, then jsp pages are recompiled and served
  • Fast swap is enabled to ensure Java classes are redefined in-place without reloading the ClassLoader to reduce the overall compilation time for developers
  • In The WebLogic Server Development Mode, the configuration for security is relaxed

Weblogic Server Production Mode

  • The WebLogic Server Production Mode does not support auto-deployment mode to reduce the overhead of continuous polling of directory updates. The deployments in the WebLogic Server are supported through Administration Console, weblogic.Deployer tool or the WebLogic Scripting Tool (WLST)
  • The Weblogic Server provides additional features when it is to be used for the production environment. The Weblogic Server production mode provides additional security features enabled by the Weblogic Server.
  • If you are using the Oracle Fusion Midldeware , then it is recommended to use the Oracle JRockit JVM which has additional features added for SOA, BPEL, OSB and ADF
    objects to be released to garbage colllection and other service specific security features
  • The WebLogic Server Production Mode displays Warning messages for Demo SSL Certificate usage.
  • The Logs files in the WebLogic Server Production Mode supports file size of 500 KB and then New Log file will be created.
  • The WebLogic Server Production Mode always prompt for Weblogic User Name and Password.
  • The JDBC Connection Pool Capacity is Defaulted with 25 connections
  • The No. of threads available to Execute Queues are default to 25
  • Node manager user id and password are randomly generated
  • The DebugFlag is used to enable the WebLogic Workshop Debugger
  • Fast swap is disabled
  • Change center is Enabled and requires the Lock and Edit session
  • JRE Mode is -server, Server VM is tuned to maximize peak operating speed for executing long-running server applications, which requires high speed for fast start-up time or smaller runtime memory footprint.
    page_check_seconds in weblogic.xml file is -1 which means JSP pages will not be deployed
  • In The WebLogic Server Production Mode, server runs with all security configurations enabled

How to set the production mode for weblogic domain

The blogs provides the steps on  how to set the production mode value in Weblogic Server

Points to Consider for Weblogic Server Production Mode

  • The WebLogic Server Production Mode does not support auto-deployment mode to reduce the overhead of continuous polling of directory updates. The deployments in the WebLogic Server are supported through Administration Console, weblogic.Deployer tool or the WebLogic Scripting Tool (WLST)
  • The Weblogic Server provides additional features when it is to be used for the production environment. The Weblogic Server production mode provides additional security features enabled by the Weblogic Server.
  • If you are using the Oracle Fusion Midldeware , then it is recommended to use the Oracle JRockit JVM which has additional features added for SOA, BPEL, OSB and ADF
    objects to be released to garbage colllection and other service specific security features
  • The WebLogic Server Production Mode displays Warning messages for Demo SSL Certificate usage. 
  • The Logs files in the WebLogic Server Production Mode supports file size of 500 KB and then New Log file will be created.
  • The WebLogic Server Production Mode always prompt for Weblogic User Name and Password.  
  • The JDBC Connection Pool Capacity is Defaulted with 25 connections
  • The No. of threads available to Execute Queues are default to 25
  • Node manager user id and password are randomly generated
  • The DebugFlag is used to enable the WebLogic Workshop Debugger
  • Fast swap is disabled
  • Change center is Enabled and requires the Lock and Edit session
  • JRE Mode is -server, Server VM is tuned to maximize peak operating speed for executing long-running server applications, which requires high speed for fast start-up time or smaller runtime memory footprint.
    page_check_seconds in weblogic.xml file is -1 which means JSP pages will not be deployed

How to set Production Mode value using the Weblogic Server administration  console.

Home-> Domain-> General -> Production Mode 

Set the value for Production Mode as TRUE.

Restart your server and it will runs with additional features including security. 

.