基于WebSocket的JsonRpc wsonrpc
- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/apexes/wsonrpc/wikis/home
- 软件文档: http://git.oschina.net/apexes/wsonrpc/wikis/home
软件介绍
wsonrpc 是一个基于WebSocket的JsonRpc,实现Server端与Client之间的双向互访。可以应用在 android 项目上。
json处理支持 gson、jackson
websocket的Client连接可不依赖任何第三方包,也可选用java_websocket或tyrus
websocket的Server端支持java_websocket、spring websocket方式、JSR-356 WebSocket API 规范
<dependency> <groupId>net.apexes.wsonrpc</groupId> <artifactId>wsonrpc</artifactId> <version>0.6.0</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.7</version> </dependency> <dependency> <groupId>org.java-websocket</groupId> <artifactId>Java-WebSocket</artifactId> <version>1.3.0</version> </dependency>
Server 端:
Client 使用示例:
Scalability Rules
Martin L. Abbott、Michael T. Fisher / Addison-Wesley Professional / 2011-5-15 / USD 29.99
"Once again, Abbott and Fisher provide a book that I'll be giving to our engineers. It's an essential read for anyone dealing with scaling an online business." --Chris Lalonde, VP, Technical Operatio......一起来看看 《Scalability Rules》 这本书的介绍吧!
