使用WebLogic服务器进行热部署?

发布于 2024-12-27 17:41:55 字数 287 浏览 2 评论 0原文

我有一个在 WebLogic 服务器上运行的企业应用程序。

当我修改任何 Java 类时,我每次都必须构建 .ear 文件并部署到服务器。即使是很小的修改,我也需要构建整个应用程序并将其部署到服务器。服务器大约需要 10 分钟才能完成此操作。

还有其他方法可以做到这一点吗?

当我使用 Tomcat 时,我们过去常常直接更新 webapps 项目文件夹中的 .class 文件,这样我们就不需要重新构建整个应用程序。

I have an enterprise application running on a WebLogic server.

When I modify any Java class, I have to build the .ear file and deploy to the server every time. Even for a small modification, I need to build the whole application and deploy to the server. The server is taking around 10 minutes to do this.

Is there any other way to do this?

When I was working with Tomcat, we used to update the .class files directly in the webapps project folder so that we didn't need to re-build the entire application.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

缱绻入梦 2025-01-03 17:41:55

创建 weblogic 域时,您定义它将在开发或生产模式下启动。
要修改它,请将 config/config.xml 中的 production-mode-enabled 值更新为 true 或 false

有关更多详细信息,请检查以下链接或 Weblogic 文档。

Weblogic 10.3中DEV和PROD模式的区别

关于您关于Weblogic插件的问题,我想您正在谈论OEPE(Oracle Enterprise Pack for Eclipse),它将您的应用程序部署到将在dev或prod中运行的域根据config.xml中提到的模式

When you create a weblogic domain, you define it will be started in Development or Production mode.
To modify that, update the value of production-mode-enabled to true or false in config/config.xml

For more details check the following link or Weblogic documentation.

Difference between DEV and PROD mode in Weblogic 10.3

About your question on Weblogic Plugin, I suppose your're talking about OEPE (Oracle Enterprise Pack for Eclipse), which will deploy your application to a running domain that will be in dev or prod mode according to the mentioned in the config.xml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文