Hello, I am trying to figure out how to setup my clojure project in order to be able to serve both normal http requests which will return json and also handle requests over websockets. Is it possible to do both and listen on same port? or do i need two separate projects? or.... ?
I did find this<http://blog.jayfields.com/2011/02/clojure-web-socket-introduction.html> but from what I read Webbit is not the best solution for what I need. I was hoping to be able to build my clojure project and use jetty in development and tomcat on production. Thank you for your time -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.