I'm looking for a tool able to deploy partial webapps, not just deploying a war containing a whole new version of a webapp. The purpose is to permit automated deployment (for example, but not only, properties files) in a Mavenized environment. Any idea?
Asked
Active
Viewed 5,392 times
6

giannis christofakis
- 8,201
- 4
- 54
- 65

Alexis Dufrenoy
- 11,784
- 12
- 82
- 124
-
4It's called [_exploded deployment._](http://stackoverflow.com/search?q=java+%22exploded+deployment%22) You deploy a folder instead of a [J|W|E]AR, which means you can update individual files in the folder instead of the whole archive. What container/app server are you using? – Matt Ball Jan 30 '12 at 16:37
-
Interesting. I didn't know the expression. Do you know any tool to automate the process? – Alexis Dufrenoy Jan 30 '12 at 16:49
-
1http://blog.teamextension.com/hot-deployment-of-java-web-applications-in-eclipse-439 <-- This page explains using an exploded WAR through Eclipse and Tomcat – Bry6n Jan 30 '12 at 17:23
-
Again, it would be helpful if you could tell us which specific Java technologies you're using. – Matt Ball Jan 30 '12 at 19:45
-
I'm using Tomcat and JBoss, with Spring. – Alexis Dufrenoy Jan 30 '12 at 22:03
-
+1 for linkedin Glu. You can rely on that And -1 for ControlTier. that is too much to integerate and to perform any function and personally i believe it's a bit more complicated. I left controlTier after using it for 1 month and now i am working on Linekdin Glu. Give it a shot – zedfauji Dec 17 '13 at 10:05
4 Answers
4
http://liverebel.com - Take a look on LiveRebel. I think that is what you need.

Bogo
- 688
- 1
- 6
- 15
-
As for exploded deployment, you can use LiveRebel CLI "upload" command (followed by "deploy" or "update") and direct it at a directory instead of a WAR/EAR file. LiveRebel will do an automatic diff and upload just the changed resources. http://manuals.zeroturnaround.com/liverebel/reference/cli.html – Neeme Praks Jun 10 '13 at 14:35
-
Also, LiveRebel can manage those properties files for you, see http://zeroturnaround.com/blog/liverebel-2-6-sneak-peek-environment-configuration-management/ for more details. – Neeme Praks Jun 10 '13 at 14:36
-
2
I have found some tools, too:
- Glu, which is maintained by the LinkedIn team
- ControlTier, which seems able to do that and much, much more
- Chef, which is a Java framework if you want to write your own deployment tool (which is not my case, but could be interesting for somebody else)

Alexis Dufrenoy
- 11,784
- 12
- 82
- 124
-
Is there any document for converting the application(currently deployed using RPM) to glu? – Futuregeek Jun 28 '13 at 07:56
-
-
ControlTier is a dormant project, now. You can find what's left of it here: https://github.com/gschueler/controltier-wiki – Alexis Dufrenoy Apr 10 '17 at 15:27
1
I think you could use the maven wagon plugin to do this. Try the wagon:upload-single
goal - I think it is what you are looking for, you just need to fill in the configuration blanks so to speak.
One gotcha to remember - you need to add the server configuration to your maven settings.xml file, which is pretty easy to do, just don't forget it.

javamonkey79
- 17,443
- 36
- 114
- 172
1
Kwatee (http://www.kwatee.net) can do both war or exploded deployments. It has a web user interface but you can automate it via python CLIs or a supplied ant task.

mac
- 5,627
- 1
- 18
- 21