lein-ring plugin can create 2 different types of packages for deployment: an
uberjar or an
uberwar. These are created using
lein ring uberjar or
lein ring uberwar respectively:
.jarfile containing all dependencies, including an embedded Jetty server
.warfile containing all dependencies, which can be deployed to any Java web application server (such as Tomcat or GlassFish)
Check out the official lein-ring documentation to get more details about the various options available for
ring uberwar/uberjar at https://github.com/weavejester/lein-ring.
How you're going to deploy your application determines how you're going to package your application.