Java application using actors to handle multiple operations on data