Can I hot-deploy to a remote install of Tomcat?

2019-07-20 19:46发布

Currently, the Tomcat server that I'm using to develop against is localhost - and I'm using Eclipse WTP to hotswap code onto the server.

However, I'm starting to do some mobile development and I'd like to be able to work in the same model - when I change code, it appears on the device.

The snag is, the tomcat instance I have access to via a mobile (i.e. external, 3G access rather than internal connectivity) does not sit on my machine, it sits on another server.

Is there any way I can still do Hotswap (preferably through Eclipse) onto this Tomcat instance that is external to my machine?

Would JRebel do this?

Thanks.

1条回答
时光不老,我们不散
2楼-- · 2019-07-20 20:11

You can remotely hot deploy onto Tomcat using Tomcat's manager application. There's a description at the link below. You can then create an Ant script based on this and put it into your build process on Eclipse (I'm reliable informed - I don't actually know how to do this)

Deploying to Tomcat

查看更多
登录 后发表回答