Switch dto to ejb