Good Web Server/Servlet Container for Clojure Web Apps?

后端 未结 3 1185
长情又很酷
长情又很酷 2021-01-18 09:35

I am looking for a good production web server/servlet container for my compojure web appliction. What are the pros and cons of using Jetty or Tomcat or other server for a Cl

相关标签:
3条回答
  • 2021-01-18 09:45

    Chas Emerick has a rather old blog post + slides on doing continous integration on webapps right (Heroku, Pallet, War-file or whatever nescessary to NOT roll your own solution).

    0 讨论(0)
  • 2021-01-18 10:03

    I think there is not yet a pure Clojure Webserver, but I heard that people at Apache were working on something like that. On the meanwhile I have some links I found useful myself.

    A commentary on Apache + Jetty: http://briancarper.net/blog/510/deploying-clojure-websites

    Take a look at this for implementing your own webserver via servlets: Clojure web application - where do I start?

    0 讨论(0)
  • 2021-01-18 10:08

    If you don't already have your own infrastructure to run on, you might consider Heroku, which supports Clojure. See their tutorial Getting Started With Clojure on Heroku/Cedar. It's free to start and very easy to scale.

    0 讨论(0)
提交回复
热议问题