I am currently experimenting with Scala. It seems quite convenient for web applications. Using Tomcat, it is possible to have a very productive developer environment. Here is a sample Embedded Tomcat you can start in a Scala project:
val CATALINAHOME : File = new File("../newsbeef.com"); val WEBAPPS : File = new File(CATALINAHOME,"webapps"); val ROOT : File = new File(CATALINAHOME,"web"); val HOSTNAME : String = "localhost"; val PORT : int = 8080;
Here is a sample Scala Servlet outputing html directly. This is a simple example, but it shows something important. With Scala, the view layer can just be regular scala classes. There is no need for JSP or other templating languages as Scala already embbeds XML very nicely. By using the reloadable feature of Tomcat (there are also other pure Scala ways) and Eclipse autocompile, changes are instantanously taken in account.