refactoring and specifying ejb beans