ejb-timer code refactoring