天天看點

dubbo循序漸進 - yml配置

Dubbo首先使用com.alibaba.dubbo.config.spring.schema.NamespaceHandler注冊解析器,當spring解析xml配置檔案時就會調用這些解析器生成對應的BeanDefinition交給spring管理

啟動jar項目

java -jar x.jar  --spring.profiles.active=local --server.port=8000

 不間斷背景運作程式

nohup java -jar x.jar  --spring.profiles.active=test --server.port=8000 &