We'll create two modules, grpc-server-service and grpc-client-service, in the multi-module maven project. We'll just add the maven-compiler-plugin plugin. Then, we'll create two directories for both server and client services. Both services would have the Maven-based directory structure, as shown in the following code:
Directory Structure of new project (../Chapter10/)├───pom.xml├───grpc-client-service│ ├───src│ │ ├───main│ │ │ ├───java│ │ │ │ └───com│ │ │ │ └───packtpub│ │ │ │ └───mmj│ │ │ │ └───grpc│ │ │ │ └───client│ │ │ └───resources│ │ └───test│ │ └───java│ └───pom.xml└───grpc-server-service ├───src │ ├───main │ │ ├───java │ │ │ └───com │ │ │ └───packtpub │ │ │ └───mmj │ │ │ └───grpc │ │ │ └───server │ │ │ └───services │ ...