您的位置:首页 > 其它

weblogic 开发模式与产品模式有何区别?

2009-08-15 10:10 204 查看
就是这一段
@rem Set Production Mode. When set to true, the server starts up in production mode. When
@rem set to false, the server starts up in development mode. The default is false.
set STARTMODE=true
---------------------------------------------------------------
据weblogic技术工程师说,产品模式是为保证速度快放在指定目录下,他的包不会自动更新。开发模式是比较自由的,它保证开发灵活性,随便把它扔哪里都会自动更新,这样会影响速度。一般地开发好的产品,都给客户用产品模式部署。
---------------------------------------------------------------

You can start your domain in one of two modes, development or production. You use development mode while you are developing your applications. Development mode uses a relaxed security configuration and allows you to auto-deploy applications. You use production mode when your application is running in its final form. A production domain uses full security and may use clusters or other advanced features.
---------------------------------------------------------------

开发模式下,主要是为了满足用户的应用经常变化的需求,server会自动刷新你的应用,可以立即看到更改的最新页面,但是这样就会影响效率。所以,在正式运行的环境,一般应用变化较少,建议选择产品模式提高性能。
---------------------------------------------------------------

开发模式下支持热部署,同时启动的速度慢,运行性能不如产品模式。
你可以看看WEBLOGIC宝典,里面有WEBLOGIC的调优,讲的比较详细。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: