I am learning distributed architecture architecture and trying to practice with Spring Cloud
When I tried to build a Provider service—-User-Service, I saw two opposing views on the web
Some people suggest to encapsulate classes that other services need to access as library shares, such as
Commodity, so as to avoid repeated writing and some careless mistakes when accessing
Others are opposed to this approach, they believe that this creates tight coupling between services, service providers will implicate service consumers when modifying entities, and in this way, the entire system will become a large monolithic system , became a
I’m wondering if there is a standard that differentiates the two practices?