Chapter 7: STM in Clojure, Groovy, Java, JRuby and Scala This chapter covers the syntax & utilities of using STM in different JVM languages. The examples are succinct enough to not mandate explicit notes for them.