In our system, we get the managed entity ORM beans from the database (using sleep mode), and then we copy them to DTO beans for sending to the user interface.
Most properties in the DTO have the same name as the entities, but return types are often different because any objects associated with them must be converted to store only the identifier or another DTO.
In my world of perfect sleep, somehow, when I edited javadocs for an entity, javadocs on the same methods in the DTO would update to fit. This can be done using the build tool or the eclipse plugin.
Has anyone seen anything like this?
source
share