1. The Controller layer of spring still needs to write @Resource to inject the service layer object. Is this decoupling?
为情所困2017-06-23 09:14:59
Controller relies on Service for logic processing. It cannot be completely decoupled. It can only reduce the coupling between each other. If Spring is not used, calling Service to process business logic will be more complicated.