How to configure Guice if you have a multi-level architecture (DAO, Services, Controllers)?
Should it be configured in the top layer (controllers)? Or should we customize in each layer? If so, how can they be brought closer together?
How about tests? How should it be? Thank.
According to general practice, the DAO is as light as possible and exists to provide a connection to the database.
A service layer exists to provide logic for working with data sent to and from the DAO.
, , .
, , Guice, , DAO .
DAO , , , , DAO . >
Source: https://habr.com/ru/post/1656198/More articles:UnitySendMessage not working on iOS - pluginsHow to unlock / disconnect / remove ZingChart library from a specific div? - javascriptString (bytes [] Charset) возвращает результаты по-разному в Java7 и java 8 - javaHow to build "empty columns" for UNION? - sqlHow to get the status of my response when using fetch in native-native? - react-nativeCreating an APK from an Angular 2 application - angularExcel VBA Save As Tab Separated File - vbaFor mobile automation, what are the benefits of Appium VS Calabash and Calabash VS Appium? - appiumЦентрировать средний элемент flexbox и оправдывать остальные - htmlНепосредственный вывод CultureInfo на разных машинах - .netAll Articles