Distributed task execution for Java