> 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?

Well, you could rewrite the servlet in Clojure... right?
Aside from that, I don't think so. Ring works on a much lower level of
abstraction.

> 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?

Tomcat can deploy an "exploded war" directory.
You'll need to add an appropriate <Context> entry to $CATALINA_HOME/
conf/server.xml
and compile your servlet class.

And, to take the example from ring.middleware.reload, you can add
something like this:

(require 'cljvaadin.core :reload)

at the start of the "init" method. The rest of the method should then
be extracted
to another function or namespace, so that the changes could be picked
up at runtime.

I haven't tried this, but it should work.

-- 
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

Reply via email to