Update README.md

This commit is contained in:
wentch
2015-12-15 10:01:22 +08:00
parent 801d2d2631
commit d29c80dac5

View File

@@ -12,8 +12,13 @@
<li>功能强大 但体积不到1.5M,且不依赖任何第三方包</li>
</ol>
<br/>
<h4>亮点一. 轻量级HTTP</h4>
<h5>亮点一. 轻量级HTTP</h5>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RedKale 的HTTP是基于异步NIO.2实现的所提供的HttpResponse的输出接口也是异步的因此并不遵循JSR 340规范(Servlet 3.1)且也没有实现Jsp规范。 HTTP只提供四个实体HttpContext、HttpRequest、HttpResponse、HttpServlet。 传统的Session则由数据层实现。 <br/>
&nbsp;&nbsp;&nbsp;&nbsp;RedKale提倡http+json接口 因此HTTP层内置了json解析与序列化接口同时内置http缓存机制。
</p>
<br/>
<h5>亮点二. SNCP协议</h5>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SNCP是RedKale独有的协议层 类似RMI与WebService的结合但使用更加方便。用于进程间的数据传输。使用者通过配置文件可以轻易的将Service由本地模式变成远程模式。远程模式的Service使用SNCP协议与其他进程的Service通信。<br/>
</p>