Java – Automated Deployment solution for multiple Java web-apps

configurationdeploymentjavamaven-2web-applications

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

The solution requires an ability to create and store a release specification containing multiple items for release – specific versions of each application and relevant other artifacts (database config, apache config etc.).

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.

A lot to ask?

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?

Notes:

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.

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.

Best Answer

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

Related Topic