Dubbo不依赖spring启动单独启动

也可以只写个Main.main(args) 这种启动方法适用于服务的提供者使用

这种使用还是要配置spring-dubbo.xml (内容和以前无差别) ,这样启动main方法就会自动加载resource下面的文件做到脱离

ApplicationContext ss=new ClassPathXmlApplicationContext("xxx.xml");

resource下面的dubbo.properties 文件内容

Dubbo不依赖spring启动单独启动

相关文章:

  • 2019-09-01
  • 2021-10-27
  • 2022-01-11
  • 2022-01-21
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2021-10-06
  • 2022-12-23
  • 2022-02-25
  • 2021-05-18
  • 2022-01-31
  • 2021-10-22
相关资源
相似解决方案