You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # spring-boot-demo-dubbo-common
  2. > 此 module 主要是用于公共部分,主要存放工具类,实体,以及服务提供方/调用方的接口定义
  3. ## pom.xml
  4. ```xml
  5. <?xml version="1.0" encoding="UTF-8"?>
  6. <project xmlns="http://maven.apache.org/POM/4.0.0"
  7. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  9. <parent>
  10. <artifactId>spring-boot-demo-dubbo</artifactId>
  11. <groupId>com.xkcoding</groupId>
  12. <version>1.0.0-SNAPSHOT</version>
  13. </parent>
  14. <modelVersion>4.0.0</modelVersion>
  15. <artifactId>spring-boot-demo-dubbo-common</artifactId>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <build>
  22. <finalName>spring-boot-demo-dubbo-common</finalName>
  23. </build>
  24. </project>
  25. ```
  26. ## HelloService.java
  27. ```java
  28. /**
  29. * <p>
  30. * Hello服务接口
  31. * </p>
  32. *
  33. * @author yangkai.shen
  34. * @date Created in 2018-12-25 16:56
  35. */
  36. public interface HelloService {
  37. /**
  38. * 问好
  39. *
  40. * @param name 姓名
  41. * @return 问好
  42. */
  43. String sayHello(String name);
  44. }
  45. ```

一个用来深度学习并实战 spring boot 的项目,目前总共包含 66 个集成demo,已经完成 55 个。