Akka 2.0 Remoting with Java
There have been a lot of requests for a Java example of how to use the remoting capabilities in Akka 2.0 and now there is one. It can be found here:
https://github.com/jboner/akka/tree/master/akka-samples/akka-sample-remote
Some interesting highlights are:
Looking up a remote actor on a remote node:
Creating an actor on a remote node:
As you can see there isn’t much to the code itself and this is because everything is configuration driven.
Here is what the configration files look like:
and
That’s it! Pretty slick right.
Happy hAKKing
//h3nk3