Is there a simpler way to deploy to WebSphere?

懵懂的女人 提交于 2019-12-03 06:18:05

There is the concept of WebSphere Rapid Deployment. It's supposed to be the same experience as what you describe for Tomcat.

Just a hint: if you activate "Log command assistance commands" in System Administration / Console preferences, you will get a logfile in the server log directory that contains the jython scripts for all actions you did on the console. So you can just deploy your stuff per console the first time, and then grab the commands for later and feed them into wsadmin.bat -lang jython "thecommandscomehere" for the next deployment.

Juha Pohjalainen

One way to do it could be using Jython or jacl scripts. See those samples at IBM site.

[EDIT] Especially the wsadminlib.py.zip download near the bottom of the page contains a huge set of examples and helper functions to get you started.

WAS does provide a client jar containing some custom ant tasks. However they seem to be extremely bugy and dont work with remote servers.

IBM ANT TASK Javadoc

Netbeans also has support for was 6 and 6.1 but this again is still quite buggy, however it can be useful for generating some the bindings files etc.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!