Play 2.4 introduced a new way to write your applications that can be appealing to developers with minimalistic preferences. Now it’s straightforward to embed Play into your application, adding only the necessary dependence, and using a sexy routing DSL.
In this post, we will go through creating an embedded Play application step by step, then we will take a tour of Play’s new routing DSL features, explaining different usecases, including some advanced ones.