posts - 156,  comments - 601,  trackbacks - 0
  2014年9月30日
     摘要: 1. Springboot config示例与原理介绍1.1 Springboot config示例Springboot给我们提供了非常便捷与方便的配置使用方式,常用的使用示例有以下两种:1)使用@ConfigurationProperties 读取多个属性使用方法:@ConfigurationProperties(prefix = "spring.datasource")使用说明:提供...  阅读全文
posted @ 2021-04-08 20:00 x.matthew 阅读(453) | 评论 (0)编辑 收藏
     摘要: jprotobuf-rpc-http 是应用jprotobuf类库实现基于http协议的RPC开发组件。 目前1.0提供可以直接把Google protobuf的IDL定义语言发布成RPC服务,客户端也可以直接应用IDL定义语言进行动态创建,帮助开发完全省去了手工编译protobuf IDL语言的麻烦。  阅读全文
posted @ 2014-10-10 15:20 x.matthew 阅读(3484) | 评论 (0)编辑 收藏
     摘要: JProtobuf官方网址:https://github.com/jhunters/jprotobuf
1.0.0 支持普通类型,嵌套对象以及对象数组的Protobuf协议的序列化与反序列化实现。(注解替换proto描述文件)
1.0.1 由注解对象动态生成Protobuf的IDL描述文件内容。
1.0.3 增加由.proto 描述文件动态生成Protobuf操作对象的支持,详见下面使用说明。  阅读全文
posted @ 2014-09-30 11:43 x.matthew 阅读(4817) | 评论 (4)编辑 收藏