Skip to content

Instantly share code, notes, and snippets.

bgoetzmann / AxonTutorial.groovy
Created Aug 30, 2018
A Groovy script for playing with Axon Framework; it takes back the code presented in "A Guide to the Axon Framework",
View AxonTutorial.groovy
// See "A Guide to the Axon Framework",
import org.axonframework.commandhandling.AggregateAnnotationCommandHandler
import org.axonframework.commandhandling.TargetAggregateIdentifier
import org.axonframework.commandhandling.model.AggregateIdentifier
import org.axonframework.commandhandling.CommandHandler
import org.axonframework.eventhandling.EventHandler
import org.axonframework.commandhandling.SimpleCommandBus
import org.axonframework.commandhandling.gateway.DefaultCommandGateway
bgoetzmann / gist:8060ea316611d88a3b8d25290127fdca
Last active Aug 9, 2017 — forked from dodyg/gist:5823184
Kotlin Programming Language Cheat Sheet Part 1
View gist:8060ea316611d88a3b8d25290127fdca


Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at

All the codes here can be copied and run on Kotlin online editor.

Let's get started.