Building, Testing & Deployment
Master the process of compiling, testing, and packaging your Clojure applications for various deployment targets.
From Code to Production
You've written your Clojure code, now what? This lesson covers how to transform your source files into a runnable package and ensure it works correctly.
We'll explore the essential steps involved in compiling, testing, and packaging your Clojure application for various deployment environments.
Clojure Compilation Basics
Clojure code doesn't execute directly on your hardware. Instead, it gets compiled into JVM bytecode, which the Java Virtual Machine (JVM) can understand and run.
- Ahead-of-Time (AOT) Compilation: Compiles code into
.classfiles before runtime. This is crucial for creating standalone executables. - Just-In-Time (JIT) Compilation: The JVM further optimizes and compiles bytecode to native machine code during runtime for performance.
All lessons in this course
- Leiningen and Deps.edn Basics
- Managing Dependencies & Plugins
- Building, Testing & Deployment
- Managing Profiles, Aliases, and Environments