About James Roper
List/Grid Author Archives Subscribe to the RSS feed of James Roper

Call response WebSockets in Play Framework
I got a question from a Play user about implementing call/response WebSockets in Play Framework. This is not something that comes up that often, since it means using WebSockets to do ...

Advanced routing in Play Framework
We frequently get questions about how to meet all sorts of different routing needs in Play Framework. While the built in router is enough for most users, sometimes you may encounter ...

Java 8 Lambdas – The missing link to moving away from Java
I learnt functional programming, but then I decided I liked imperative programming better so I switched back. — Nobody, ever Moving from imperative programming to functional programming ...

Understanding the Play Filter API
With Play 2.1 hot off the press, there have been a lot of people asking about the new Play filter API. In actual fact, the API is incredibly simple: trait ...

Scaling Scala vs Java
In my previous post I showed how it makes no sense to benchmark Scala against Java, and concluded by saying that when it comes to performance, the question you should be asking is ‘How ...

Iteratees for imperative programmers
When I first heard the word iteratee, I thought it was a joke. Turns out, it wasn’t a joke, in fact there are also enumerators (that’s ok) and enumeratees (you’re ...

Benchmarking Scala against Java
A question recently came up at work about benchmarks between Java and Scala. Maybe you came across my blog post because you too are wanting to know which is faster, Java or Scala. Well ...



