The 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:
uberjar: Creates an executable
.jar
file containing all dependencies, including an embedded Jetty serveruberwar: Creates a standard
.war
file containing all dependencies, which can be deployed to any Java web application server (such as Tomcat or GlassFish)Note
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.