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

2014-07-28 Thread John Haigh
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. This sample demonstrates: - using actor selection - see below.

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

2014-07-24 Thread John Haigh
HI Endre, Thanks again for the info. Just to confirm this sample on akka activator appears to be a frontend/backend sample that I have been looking for: akka-sample-cluster-java I have some feedback below. //#frontend public class FactorialFrontend extends UntypedActor { final int

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

2014-07-22 Thread John Haigh
I was looking to know how to write an actor per request. I want to understand this pattern so I could create a sample similar to the one at https://github.com/muuki88/activator-play-cluster-sample that creates a frontend for an akka cluster in Java. I'm struggling with how to have a frontend

[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