多个Java Web应用程序的自动部署解决方案 [英] Automated Deployment solution for multiple Java web-apps

查看:501
本文介绍了多个Java Web应用程序的自动部署解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找能够管理多个相互依赖的java网络应用程序的部署的解决方案,最好是开源。

I'm looking for solutions, preferably open source, that can manage deployments of multiple interdependent java web-applications.

解决方案需要能力创建和存储包含多个项目的发布规范,用于每个应用程序和相关其他工件(数据库配置,apache配置等)的发布版本。

然后需要解析规范,然后需要在目标环境上部署/执行每个项目。目标环境是基于linux的。 Web应用程序是在j2ee标准应用程序服务器上运行的vanilla wars。

The specification then needs to be parsed and each item then need to be deployed/executed on a target environment. Target environment is linux based. Web-apps are vanilla wars running on a j2ee standard app server.

很多问题?

目前我认为所有的位都在 - 二进制文件被释放使用 maven发布版插件(因此可从我们的 maven库> 部署)数据库使用 dbdeploy apache config 版本位于 svn 中。但我不知道有什么工具可以把所有这些步骤放在多个应用程序上。

Currently I think all the bits are in place - the binary artifacts are released with the maven release plugin and hence available from our maven repo for deployment, the database is versioned with dbdeploy and the apache config is versioned in svn. However I don't know of any tool that can put all these steps together on multiple applications.

我目前的首选方法是使用一种参数化构建的形式为哈德森创建规范。然后第二个参数化构建选择一个预先创建的规范并在选定的环境中部署/执行它。

My current preferred approach is to use a form of a parameterised build for hudson to create the specification. Then a second parameterised build to select a pre-created specification and deploy/execute it on a chosen environment.

然而,这似乎有很多工作,最佳定制解决方案。

However this seems to be a lot of work and a less than optimal custom solution.

任何人都知道任何预建的更好的想法?或者如何处理这个建议 - 也许工作流引擎会比哈德森好吗?可能是自定义网络应用程序?

Anyone know any prebuilt better ideas? or suggestions for for how to approach this - maybe a workflow engine would be better than hudson? maybe a custom web app?

注意:

目标环境是预先构建的, java和app服务器安装,数据库运行等。这是一个较少的环境配置问题和更多的部署问题。

The target environments are prebuilt with all requirements in place - e.g. java and app server installed, database running etc. This is less of an environment configuration question and more of a deployment question.

自动部署单个应用程序是一个问题,解决方案货物,ant部署脚本等。但我需要一些可以包装多个部署。例如。

Automating deployment of single apps is a problem with many solutions e.g. cargo, ant deployment scripts etc. However I need something that can wrap multiple deployments. E.g. kick off cargo on specific versions of multiple apps and their requirements.

推荐答案

听起来像你需要一个 chef 来烹饪您的配置:)

Sounds like you need a chef to cook your configuration :)

这篇关于多个Java Web应用程序的自动部署解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆