IntelliJ IDEA 10 includes an option to setup an application server right in the New Project Wizard. You only need to specify a directory where the server is installed:
IntelliJ IDEA will create a sample application, setup it accordingly for the selected server and will add a corresponding Run Confi…