阅读背景:

使用接口编写DAO类

来源:互联网 

I'm creating a new web application which will use a bunch of Data Access Object(DAO) classes for doing CRUD operations on the data. I know I should write java interfaces when I have external users/applications using my DAO classes. But if there is no such need do you think I should still write the interfaces? I'll be injecting DAO classes in to the Spring Controller(I'm using Spring MVC) classes using spring.I'm creating a new web application which will u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: