changing from application scoped to stateless beans in order to make entity manger to manage transactions using container