On Wed, Jun 06, 2012 at 08:32:31PM +0100, Ray Miller wrote:
> On 6 June 2012 00:58, Robert Marianski <
r...@marianski.com> wrote:
> >
> > I think it depends on where you are going to deploy, and if you need to
> > aot compile. If you are going to deploy to a container like tomcat, then
> > I would suggest that you use init/destroy. If you are going to run an
> > embedded jetty, it might not make a difference.
>
> That raises another question: do people tend to run production
> applications with the embedded jetty, or are there good reasons to
> deploy to a servlet container? Right now I'm just running 'lein ring
> server-headless' from upstart, but I did think about deploying into an
> external jetty server.
I've used both tomcat and an embedded jetty without issues. If you have
in production. Embedding jetty is an easier deployment story though,