`
san_yun
  • 浏览: 2662732 次
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

dboss 简单运行

 
阅读更多
        ServiceRemoting serviceRemoting = new NioServiceRemoting();
        DataResolverFactory dataResolverFactory = new DataResolverFactoryImpl();
        ServiceRegister serviceRegister = new ServiceRegister();
        serviceRegister.registe("blogQueryService", new BlogQueryServiceImpl());
        serviceRemoting.init(new ServiceContextImpl(serviceRegister, dataResolverFactory));
        serviceRemoting.start(8989);
 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics