简体   繁体   English

无缝重新部署java Web应用程序

[英]seamless redeploy for java web application

I am working at a startup, we are just about to roll out our first beta. 我在创业公司工作,我们即将推出我们的第一个测试版。 Knowing that we will be having a good number of users, we want to have seamlessly deployment when we are adding new features. 知道我们将拥有大量用户,我们希望在添加新功能时进行无缝部署。

I have worked with windows azure before, and I know they support seamless deployment, so I did some googling and cloudbees was the first result. 我以前曾经使用过windows azure,我知道它们支持无缝部署,所以我做了一些谷歌搜索,而cloudbees是第一个结果。

So the question is, with what we have now (geronimo server, rackspace hosting), is it possible to seamlessly redeploy a java web application? 所以问题是,凭借我们现在拥有的东西(geronimo服务器,机架空间托管),是否可以无缝地重新部署java Web应用程序? If so, how? 如果是这样,怎么样?

Are there other alternative solution, such as using another hosting provider or use a different web server? 是否有其他替代解决方案,例如使用其他托管服务提供商或使用其他Web服务器? (Because it is a startup, it would be beneficial if the answer keeps scalability in mind) (因为它是一个初创公司,如果答案保持可扩展性,那将是有益的)

If with a seamless redeploy, you mean an upgrade of your application without any downtime or restarting of your server, LiveRebel might be something to look at. 如果使用无缝重新部署,则意味着升级应用程序而不会出现任何停机或重新启动服务器,可能需要查看LiveRebel。

See http://zeroturnaround.com/liverebel http://zeroturnaround.com/liverebel

There are a lot of methods for doing this in the java world. 在java世界中有很多方法可以做到这一点。 If you don't use sessions (or use shared sessions between app servers) you can do a rolling stop/deploy/start of your appservers, taking 1 offline at a time and using a load balancer to ensure that traffic goes to the other servers. 如果您不使用会话(或使用应用服务器之间的共享会话),您可以执行滚动停止/部署/启动应用服务器,一次使1个脱机并使用负载均衡器确保流量进入其他服务器。

我听说Glassfish有这样的功能,参考可能是这个(Glassfish 3.x redeploy命令): http//docs.oracle.com/cd/E19798-01/821-1758/6nmnj7q1h/index.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM