About Play 2.4 supports Compile Time Dependency Injection. This post describes how to inject your own Cassandra repository object into a controller at compile time, while also initializing and closing a Cassandra connection session during application startup and shutdown, respectively. The code of the final application is available at https://github.com/manuelkiessling/play2-compiletime-cassandra-di. The goal At the end of this post, we have created a small Play 2.4.6 Scala application with w...