|
From: Rod J. <ro...@in...> - 2004-10-17 10:35:32
|
Also be aware of some existing mechanisms e.g.: > Having introduced Spring in our projects, I was faced with complains about > writing nearly the same configuration over and over again, e.g. applying an > interceptor to many beans Consider using BeanNameAutoProxyCreator or DefaultAdvisorAutoProxyCreator. Or a parent proxy that defines the interceptors. or setting a session factory into many DAOs. Consider using autowiring in this case. Child > beans solve some problems but there should be a more explicit mechanism not > a reuse of the <bean> tag. Suggestions welcome. Rgds Rod |