Getting Started With Immutant 2
Our CI server publishes an incremental release for each
successful build. In order to use an incremental build, you'll need to
add a repository and dependencies to your
web artifacts contain implementations, so
let's add those:
(defproject some-project "1.2.3" ... :dependencies [... [org.immutant/scheduling "2.x.incremental.BUILD_NUM"] [org.immutant/web "2.x.incremental.BUILD_NUM"]] :repositories [["Immutant 2.x incremental builds" "http://downloads.immutant.org/incremental/"]])
BUILD_NUM with the build number for the version you want
to use. You can get the build number from our builds page - the
latest build number is 62 as of this article.
Edit: build 62 has been garbage collected - be sure to grab the latest build from the builds page.
Note: We're bringing in the artifacts piecemeal above, but we also provide
an aggregate artifact that brings in all of the Immutant dependencies
in one shot if you'd rather use that:
That's it! If you are used to Immutant 1.x, you'll notice that there is no download or install step - Immutant 2 is usable as a set of libraries that you consume just like any other Clojure library.
What's in those artifacts?
If you start playing with any of that API, be aware that it is currently in a pre-alpha state, and may change dramatically at any time.
We plan on publishing articles in the near future focusing on using the web and scheduling namespaces, followed by articles on websockets, messaging, and caching as soon as we get those implementations off of the ground. We'll also cover using those same namespaces within a WildFly container, taking advantage of the clustering features the container provides.
Once we have most of our namespaces in semi-decent shape, we'll release our first alpha, probably in mid to late June.
As always, if you have any questions, comments, or other feedback, feel free to get in touch.