basic implementation of akka using java