开发过程中的Weblogic热部署(如WSSD/RAD)
我之前的所有项目都是在 websphere 上进行的。我现在在一个团队中开发 weblogic 上的应用程序。
在 Websphere 开发 (WSSD/RAD) 中,服务器与 IDE 更加“集成”,因此构建可以自动触发到(开发/本地)服务器的增量部署。
在weblogic环境下可以这样设置吗?我在 google 上搜索了 eclipse 的一些 weblogic 插件,但我没有看到这个被提及为一个功能。
在 weblogic+eclipse 上进行开发的最佳设置是什么,以便在开发过程中构建/部署/重新启动开销最小?
All my previous projects were on websphere. I am right now in a team developing an application on weblogic.
In Websphere development (WSSD/RAD) the server was more "integrated" with the IDE, so a build could automatically trigger an incremental deployment to the (development/local) server.
Is such a setup possible in a weblogic environment? I googled for some weblogic plugins for eclipse, but I dont see this mentioned as a feature.
What is the best setup for development on weblogic+eclipse, so that the build/deploy/restart overhead is minimal during development?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个用于重新部署应用程序的 WebLogic
ant
任务。我在 WLS 9.2 下从命令行build.xml
使用它作为单独的“重新部署”目标,但我认为它可以很容易地添加到 Eclipse 的构建中:服务器名称> 可能是托管服务器,也可能是您的管理服务器,具体取决于您的配置。
如果您正在使用会话并且要频繁地重新部署,您可能会发现在
weblogic.xml
中添加persistent-store-type
以允许会话跨越重新部署(如果您还没有这样做),但通常取决于您对应用程序所做的事情。编辑以添加指向 docs 的链接
There is a WebLogic
ant
task for redeploying an application. I'm using this from a command-linebuild.xml
as a separate 'redeploy' target, under WLS 9.2, but it can be added to Eclipse's build quite easily I think:<server name>
might be a managed server, or could be your admin server, depending on your configuration.If you're using sessions and are going to be redeploying frequently, you may find it helpful add a
persistent-store-type
to yourweblogic.xml
to allow sessions to span redeploys, if you aren't doing so already - but as so often, depends what you're doing with your application.Edited to add link to docs