Architecting JEE applications