Working with Immutant - reusing infrastructure

Immutant is not your usual Clojure web framework. Immutant allows you to build into existing and robust middleware, WildFly, aka JBoss, and deploy your software in an elegant fashion. In this recipe, you will see how to enhance your ring application with the wide range of services available through the Immutant framework.

While Immutant makes it easy to deploy to WildFly, the development environment is entirely contained and can be done without extra download or installation. Let's have a look!

Getting ready

This first section will probably be totally disappointing; at this stage, we are fully in the domain of Clojure and things work out of the box. Terrible, huh?

Here is the project.clj file, with the ...

Get Clojure Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.