They tend to get real quiet on this point. It underscores a weakness of the framework; namely, it is sometimes difficult to perform injection on domain objects.Quote:
Originally Posted by cyboc
Ben goes so far as to suggest that allowing a domain object to reference another Spring service is bad design. I respectfully disagree with that view.
In http://forum.springframework.org/showthread.php?t=9846, Rod offers a solution for hydrating Hibernate objects, but it is only halfway implemented, and a final implementation is not scheduled until Spring 1.4.
I know it's not an easy problem to solve, but I wish it was a higher priority issue.
