refactored ejb intro examples