Re: [akka-user] Akka Actor Per Request Java Sample

2014-08-12 Thread Roland Kuhn
Thanks for sharing! 28 jul 2014 kl. 19:10 skrev John Haigh haig...@gmail.com: Further to this I created a sample at https://github.com/haighis/java-jersey-akka-backend-actor. This is written entirely in Java and is based on the sample at https://github.com/pofallon/jersey2-akka-java.

[akka-user] Akka Actor Per Request Java Sample

2014-07-20 Thread John Haigh
Hello, I have seen the Scala Actor Per Request sample at https://github.com/NET-A-PORTER/spray-actor-per-request, and I am wondering if there is a Java version out there in some form? I found the following java REST samples but I want to understand what the best method for implementation

Re: [akka-user] Akka Actor Per Request Java Sample

2014-07-20 Thread Thomas Lockney
At least some of this code is necessarily in Scala as Spray does not support Java. You could likely get some of this working (or something approximating it) with the new akka-http module, but it does not yet have an equivalent for spray-routing, so you would have to manually handle the route