JavaZone 2011 - Dependency Injection Options in Scala
This session will explore the dependency injection options available to developers using Scala. It will cover several options including Java frameworks like Spring and Guice, and Scala language approaches such as the Cake pattern.
Along the way, the pros and cons of each option will be discussed, for example Guice provides a nice binding DSL, but also relies on annotations and factories, leaving a non-Scala taste in your mouth when using it. Meanwhile the Cake pattern is all Scala, but self types can be confusing for people new to Scala, as can any kind of guidance for binding injections to variables.
The culmination of the talk will focus on a new open source library for dependency injection which has been developed for Scala in a real world application setting, based on picking the best of the Java and Scala approaches.
The talk will be technical in nature, with plenty of code examples and a cookbook of recipes for different dependency injection usages.
Dick Wall
Dick Wall is a veteran Java developer who has recently switched to developing in Scala full time. His day job is with Locus Development, working on human genetic research and discovery. Dick also has a partnership with Bill Venners providing Scala training and consulting services, and is co-host on the popular Java Posse podcast.
