This is a great idea... especially since the code required to integrate Spring Framework 2.0/Hibernate/AspectJ for domain object injection is still in the sandbox apparently.
Well, at least there are other people that have come to the same (imo obvious) solution. I was scared about adopting it, I thought that there must be something terribly wrong with the approach because nobody was even mentioning it, despite its simplicity. Glad to hear you have (successfully?) done this. I've recently posted about the idea at the spring forum http://forum.springframework.org/showthread.php?t=48311, before knowing about this blog. Maybe a custom tag like /staticdependency class="X" name="X" ref="X"/ will be valuable in order to reduce the xml noise.
3 comments:
This is a great idea... especially since the code required to integrate Spring Framework 2.0/Hibernate/AspectJ for domain object injection is still in the sandbox apparently.
Well, at least there are other people that have come to the same (imo obvious) solution. I was scared about adopting it, I thought that there must be something terribly wrong with the approach because nobody was even mentioning it, despite its simplicity. Glad to hear you have (successfully?) done this. I've recently posted about the idea at the spring forum http://forum.springframework.org/showthread.php?t=48311,
before knowing about this blog. Maybe a custom tag like /staticdependency class="X" name="X" ref="X"/ will be valuable in order to reduce the xml noise.
Thanks Memeplex!
Post a Comment