October 2017
Intermediate to advanced
396 pages
10h 2m
English
In the previous configuration example, I declared the transferService() bean method to construct an instance of the TransferServiceImpl class by using its arguments constructor. The bean methods, accountRepository() and transferRepository(), are passed as arguments of the constructor. But in an enterprise application, a lot of configuration files depend on the layers of the application architecture. Suppose the service layer and the infrastructure layer have their own configuration files. That means that the accountRepository() and transferRepository() methods may be in different configuration files, and the transferService() bean method may be in another configuration ...
Read now
Unlock full access