removing ejb dependency