From 620029e52ba5917e6f34cc57e69605086de7e758 Mon Sep 17 00:00:00 2001
From: wentch <22250530@qq.com>
Date: Thu, 7 Jan 2016 11:28:15 +0800
Subject: [PATCH]
---
convert.html | 3 +-
index.html | 17 +-
net.html | 1 +
net_http.html | 1 +
net_sncp.html | 1 +
redkale.html | 39 ++++
service.html | 1 +
source.html | 3 +-
stylesheets/stylesheet.css | 463 +++++++++++++++++++++++--------------
9 files changed, 340 insertions(+), 189 deletions(-)
create mode 100644 redkale.html
diff --git a/convert.html b/convert.html
index d0d33aa81..a8b638bda 100644
--- a/convert.html
+++ b/convert.html
@@ -14,6 +14,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
@@ -96,7 +97,7 @@
user.setUserid(100);
user.setUsername("redkalename");
user.setPassword("123456");
- final JsonConvert convert = JsonFactory.root().getConvert();
+ final JsonConvert convert = JsonConvert.root();
String json = convert.convertTo(user);
System.out.println(json); //应该是 {"password":"123456","userid":100,"username":"redkalename"}
UserRecord user2 = convert.convertFrom(UserRecord.class, json);
diff --git a/index.html b/index.html
index 75e2b65b2..f09806aa3 100644
--- a/index.html
+++ b/index.html
@@ -13,6 +13,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
@@ -30,30 +31,30 @@
其功能相当于 Tomcat + Mina + Struts + Spring + Hibernate + RMI + Json + Memcached 的综合体。
RedKale 有如下主要特点:
1、大量使用Java 8新特性(接口默认值、Stream、Lambda、JDk8内置的ASM包)
- 2、HTTP层内置json功能与限时缓存功能
- 3、TCP层使用NIO.2,TCP与UDP提供统一接口
- 4、分布式与集中式可以无缝切换
- 5、数据缓存自动同步与简洁的数据层操作接口
+ 2、提供HTTP服务,同时内置JSON功能与限时缓存功能
+ 3、TCP层完全使用NIO.2,并统一TCP与UDP的接口
+ 4、提供分布式与集中式部署的无缝切换
+ 5、提供类似JPA功能,并包含数据缓存自动同步与简洁的数据层操作接口
6、功能强大 但体积不到1.5M,且不依赖任何第三方包
- 亮点一. 轻量级HTTP
+ 亮点一. 轻量级HTTP
RedKale 的HTTP是基于异步NIO.2实现的,所提供的HttpResponse的输出接口也是异步的,因此并不遵循JSR 340规范(Servlet 3.1)且也没有实现Jsp规范。 HTTP只提供四个对象:HttpContext、HttpRequest、HttpResponse、HttpServlet。 传统Session则由数据层实现。RedKale提倡http+json接口(无论网站、PC客户端、APP移动端、第三方接口都可使用统一接口), 因此HTTP层内置了json解析与序列化接口,同时内置http缓存机制。
- 亮点二. 分布式WebSocket
+ 亮点二. 分布式WebSocket
RedKale 的WebSocket接口不同于JSR 340(Servlet 3.1), 除了提供基本的WebSocket功能, 还提供分布式与集中式部署, 当部署多个WebSocket进程时,通过配置文件可以实现WebSocket之间连接信息的数据同步。
- 亮点三. SNCP协议
+ 亮点三. SNCP协议
SNCP(Service Node Communicate Protocol)是RedKale独有的协议, 类似RMI与WebService的功能结合,主要用于进程间的数据传输。使用者通过配置文件可以轻易的将Service由本地模式变成远程模式。远程模式的Service使用SNCP协议与其他进程的Service通信。使用者无需对远程通信接口使用类似mina的第三方包自行开发。
- 亮点四. DataSource
+ 亮点四. DataSource
RedKale提供DataSource类对数据层进行操作,其功能类似JPA+Memcached。与JPA相比各有优缺点。
优点:
diff --git a/net.html b/net.html
index acd8bde22..38e4ef4e6 100644
--- a/net.html
+++ b/net.html
@@ -13,6 +13,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
diff --git a/net_http.html b/net_http.html
index af3ba7b6d..fc8fa20ae 100644
--- a/net_http.html
+++ b/net_http.html
@@ -13,6 +13,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
diff --git a/net_sncp.html b/net_sncp.html
index 1b6df13cd..da2e6fce4 100644
--- a/net_sncp.html
+++ b/net_sncp.html
@@ -13,6 +13,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
diff --git a/redkale.html b/redkale.html
new file mode 100644
index 000000000..bee962b2c
--- /dev/null
+++ b/redkale.html
@@ -0,0 +1,39 @@
+
+
+
+
+ RedKale - Java 开源框架
+
+
+
+
+
+
+
+
+
+
+ RedKale 入门介绍
+
+ RedKale既可以作为服务器使用,可以当工具包使用。
+
+
+
+
+
+
+
diff --git a/service.html b/service.html
index 23f08ea1e..b4fa77c18 100644
--- a/service.html
+++ b/service.html
@@ -14,6 +14,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
diff --git a/source.html b/source.html
index e586e7722..c826a0352 100644
--- a/source.html
+++ b/source.html
@@ -13,6 +13,7 @@
RedKale
RedKale
+ RedKale入门
Convert 组件
Service 组件
Source 组件
@@ -26,7 +27,7 @@
Source 组件介绍
- 敬请期待…………
+
敬请期待……