Good web server / servlet container for Clojure web applications?

I am looking for a good web server to create a web server / servlets for my compojure web application. What are the pros and cons of using Jetty or Tomcat or another server for a Clojure web application using compojure? Is there any good documentation for using a web server with Clojure for production or tools?

I would prefer the web server to be flexible, easy to set up and have good documentation on how to configure and use it.

+6
source share
3 answers

I think there is no pure Clojure web server yet, but I heard that people in Apache were working on something similar. Meanwhile, I have some links that I found useful.

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

Take a look at this to implement your own web server through servlets: Clojure web application - where to start?

+1
source

If you don't already have your own infrastructure for work, you can consider Heroku, which supports Clojure. See Their Tutorial Getting Started with Clojure on Heroku / Cedar . It runs easily and scales very easily.

+1
source

Chas Emerick has a rather old blog post + slides that continuous integration on webapps to the right (Heroku, Pallet, War file or something else DO NOT flip your own solution).

0
source

Source: https://habr.com/ru/post/896018/


All Articles