Easy installation: Just java -jar hudson.war, or deploy it in a servlet container. No additional install, no database.
This is what I just read from the hudson's website this morning.
If it is so easy to run an application everyone wants to try it. So I did: just downloaded and run. It took 5 minutes, and it kept the promise.
No database: for simple applications there are many alternatives to require the user to install a database and to configure it: flat files, embedded database, sometime a source control management (cvs/svn) could apply, etc.
I just looked some details, I see that hudson is using maven to get packaged into this hybrid war-jar. Looking inside you can see that there is a Main.class in the root of the war (and a JNLPMain.class that surely is used for Java WebStart) and a servlet engine called winstone.jar at the same level. Cool: the container is also contained!
Also winstone is built with maven.
I've not looked in detail how the magic is done, but after a quick run, it seems that the main class, unpacks the war (~/.hudson) and then runs the servlet engine against the unpacked application itself.
Also it would be interesting to see how the maven pom file of hudson looks like to realize this.
Some days ago I noticed that jetty is capable to run war files in similar way: it's called Jetty Runner.
I am sure that this magic can be done also with jetty.
That's how things should be! I can't tell you how many weeks are needed, and how many persons, to deploy the application that I am working on now...
|« Jun||Aug »|
- Android (3)
- Apple (30)
- Books (7)
- Eclipse (14)
- Errors (5)
- Firefox (7)
- Git (3)
- Hardware (18)
- Horror Code (8)
- Internet (21)
- Java (106)
- Life, universe and everything (45)
- Lifehacks (26)
- Linux (53)
- Opinions (26)
- OSX (11)
- OWNER API (3)
- Python (1)
- Software (35)
- Speeches and Conferences (8)
- Unix (5)
- Web (23)
- Windows (19)
Android apple architecture Bash bsd configuration CSS Development Düsseldorf framework free Git Google Hardware hdr How-To howto Java Karmic library Linux lion MacBook maven opensource Open Source Opinion os x OSX owner owner api patterns Pitfalls Practices properties Software TDD Testing tip tonemapped Tricks Ubuntu unix video Web