First thanks for reading this post!
I have a webservice that vends very complex types; complex types that have arrays of other complex types etc... , _which works_ like a charm. The problem I'm having is doing said process in a elegant manor. I'm using CMP for persistence, however I'm using hand-coded DTO's to vend and receive requests on the webservice. Which leaves me writing tons of code just to load DTO's for vending let alone deal with full: create, read, update, delete (CRUD) cycle. It feels if I'm creating ORM on top of an ORM!
Please tell me there is pattern, system, or magic potion for my ills!
Going crazy creating useless code,
Hibernate seems to be pretty good about saving/loading object trees to disk. There are restrictions on what your "DTO" can look like though.