Changed architecture for EJB