DAO and dependency injection, advice?

后端 未结 4 949
谎友^
谎友^ 2021-01-13 12:08

This is the first time im using the DAO pattern. From what I\'ve read so far, implementing this pattern will help me seperate my calling code (controller) from any persisten

4条回答
  •  醉梦人生
    2021-01-13 12:44

    A couple standard DI frameworks are Spring and Guice. Both these frameworks facilitate TDD.

提交回复
热议问题