问题描述
我以前的所有项目都在websphere上。我正在一个开发Weblogic应用程序的团队。
All my previous projects were on websphere. I am right now in a team developing an application on weblogic.
在Websphere开发(WSSD / RAD)中,服务器与IDE进行了更多的集成,因此构建可以自动触发对(开发/本地)服务器。
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.
在weblogic环境中是否可以进行设置?我为Google的某些weblogic插件google搜索,但是我没有看到这里提到的一个功能。
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.
weblogic + eclipse的最佳开发设置是什么? / deploy>重新启动开销在开发过程中是最小的?
What is the best setup for development on weblogic+eclipse, so that the build/deploy/restart overhead is minimal during development?
推荐答案
有一个WebLogic ant
任务重新部署应用程序。我使用命令行 build.xml
作为一个单独的重新部署目标,在WLS 9.2下,但它可以很容易地添加到Eclipse的构建我认为:
There is a WebLogic ant
task for redeploying an application. I'm using this from a command-line build.xml
as a separate 'redeploy' target, under WLS 9.2, but it can be added to Eclipse's build quite easily I think:
<!-- Redeploy the application to WebLogic Server -->
<wldeploy
action="redeploy" verbose="true" name="<application name>"
user="<admin user>" password="<admin password>"
adminurl="t3://<admin server URL>" targets="<server name>" />
< server name>
可能是管理的服务器,或者可以是您的管理服务器,具体取决于您的配置。
<server name>
might be a managed server, or could be your admin server, depending on your configuration.
如果您正在使用会话并要频繁重新部署,可能会发现它有帮助一个持久存储类型
到您的 weblogic.xml
,以允许会话跨越重新部署,如果你不做所以已经这样了 - 但是经常看你在做什么你的应用程序。
If you're using sessions and are going to be redeploying frequently, you may find it helpful add a persistent-store-type
to your weblogic.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.
编辑添加链接到
这篇关于开发期间的Weblogic热部署(如WSSD / RAD)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!