In Rails and most modern web frameworks, I can easily develop web applications interactively by running a development server with a single simple command (rails server
) and visiting the browser.
For Java WAR applications, the only way I can find to run it is to install tomcat, build, and copy the application into it's webapps folder, which requires sudo.
Is there a simpler way to run such WAR applications for development without sudo, and without copying the directory around (this is specially bad since the webapps folder varies with the installation)?
inotify based build on save would be a plus so I can just edit the files and immediately see the result after reloading the browser.
I'm not restricted to using Tomcat: any Servlet / JSP implementation capable of running WAR files would do for me.