Distributed Enterprise application in Java