把dubbo服务作为spring bean来测试,例如:
实践diff
```shell $ diff –help Usage: diff [OPTION]… FILES Compare FILES line by line.
实践Dubbo之注解驱动
主要针对Service和Reference,通过annotation来定义,类似通过Spring的@Component定义bean。
实践JSR-303 Bean Validation
实践jar
```shell $ jar –help Illegal option: - Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files … Options: -c create new archive -t list table of contents for archive -x extract named (or all) files from archive -u update existing archive -v generate verbose output on standard output -f specify archive file name -m include manifest information from specified manifest file -n perform Pack200 normalization after creating a new archive -e specify application entry point for stand-alone application bundled into an executable jar file -0 store only; use no ZIP compression -P preserve leading ‘/’ (absolute path) and “..” (parent directory) components from file names -M do not create a manifest file for the entries -i generate index information for the specified jar files -C change to the specified directory and include the following file If any file is a directory then it is processed recursively. The manifest file name, the archive file name and the entry point name are specified in the same order as the ‘m’, ‘f’ and ‘e’ flags.
实践Dubbo之配置
所有配置项分为三大类,参见下表中的”作用” 一列。
实践Dubbo之运维管理
实践Dubbo之注册中心
实现服务注册和发现
实践Dubbo之元数据中心
实践Dubbo之Dubbo Spring Boot Starter
Apache Dubbo Spring Boot Project makes it easy to create Spring Boot application using Dubbo as RPC Framework. What’s more, it also provides