Play Framework is a modern Java/Scala framework that promises a lightweight, stateless, Web-friendly architecture.
It's built on Akka and it's very reliable for building highly-scalable applications with predictable resource consumption.
Play 2 is the next generation of the framework; it has gone through almost a complete rewrite, and it's now fully written in Scala but offers a good Java API. We will be focusing on Scala examples right here.
Play 2 uses
Ehcache by default as a backend, you can always replace the backend by writing plugins for Play 2, fortunately, someone already did that and it's using the
spymemcached java client for memcached.
We are using Play 2.2.X for this recipe which uses ...