|
From: <rod...@in...> - 2003-06-09 14:54:02
|
<juergen> Finally, regarding package structure: I suggest to move specific AOP interceptor implementations to the respective "functionality domain" packages, i.e.: - the EJB interceptors to com.interface21.ejb.access; - the transaction interceptor to com.interface21.transaction.aop; - the Hibernate/JDO interceptors to com.interface21.orm.hibernate/jdo This would allow us to keep the package dependencies clear, especially at the com.interface21 level. I consider com.interface21.aop a basic package that should just provide the AOP support infrastructure. Higher-level ones like com.interface21.orm should depend on aop but not vice versa, IMO. This way, classes related to a certain functionality domain or third-party tool can stay in one well-defined package (or package tree), instead of being spread across the project. </juergen> I've wondered about that myself. I'm happy with the proposed refactoring. It makes sense as now DataSourceUtils etc. depend on AOP. Regards, Rod |