I’ve been playing around with Redis and Scala separately, and thought it’d be neat to combine them in a simple Lift app.
I’ve done a fair bit of Googling and can’t find any examples of a Lift app that uses Redis. Is there a reason for this?
What drivers/APIs do you recommend for using Redis w/Lift? I’m currently working with Jedis (https://github.com/xetorthio/jedis).
I use scalatra with jedis as the connector to redis, works fine as well. Java data types will be converted to equivalents in scala implicitly when scala.collection.JavaConversions._ is imported (in scala 2.8 or later). To use jedis, simply add this line to your project definition file in sbt 0.7.x:
or this in sbt 0.10.x: