介绍 当开发一个单体项目的时候,大家肯定都写过类似的代码。即服务提供方和服务调用方在一个服务中 public interface HelloService { public String sayHello(String content); } public class HelloServiceImpl implements