If you are using Maven, you can use the Maven dependency below and add a repository definition for the Spring by Example Maven repository. Otherwise you can download the jar directly from the Spring by Example Maven repository (http://www.springbyexample.org/maven/repo/).
<dependency> <groupId>org.springbyexample</groupId> <artifactId>org.springbyexample.threadscope</artifactId> <version>1.0.1</version> </dependency> <repositories> <repository> <id>springbyexample.org</id> <name>Spring by Example</name> <url>http://www.springbyexample.org/maven/repo</url> </repository> </repositories>