The blog http://dev.vaadin.com/wiki/Articles/ClojureScripting describes how to write a simple Vaadin app in Clojure, using lein-war, a web.xml with lots of init params, and a custom servlet written in Java. I realized that it must be possible to get rid of the Java servlet class that the blogger suggests, and sure enough, using gen- class it was possible to get a working Vaadin sample using only Clojure plus a small web.xml. It still uses lein-war, though. The code is available here: https://github.com/ulsa/cljvaadin
The servlet is quite complex: http://grepcode.com/file/repo1.maven.org/maven2/com.vaadin/vaadin/6.6.0/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java/?v=source Is there any hope of getting rid of the servlet altogether, and somehow get a Ring handler to perform whatever Vaadin stuff that needs to be done on the server? Even if we're stuck with the servlet, is there a more agile way of developing such an app than running 'lein uberwar' and deploying the war to Tomcat? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en