I want to migrate a large Application from EJB2.1 to EJB3. Migration the SessionBeans was easy. Now I want to migrate the Persistence from EntityBeans (2.1) to Entitys (3.0) and I want to reuse my ValueObjects (VO / DTO) to transfer the data to my Java-Client. I dont want to transfer the Entity (detach) because I dont want to change the Client-Application.
Has anyone used ValueObjects or DatatransferObjects in EJB3 as an embedded Object or anything else?