changed to CDI from EJB