Skip to content

Commit eeefb69

Browse files
committed
build[release]: first zfoo 3.1.4 release for java 17
1 parent ae91bb7 commit eeefb69

File tree

4 files changed

+20
-34
lines changed

4 files changed

+20
-34
lines changed

README.md

+9-16
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Perfect work development process, complete online solution
4747
Ⅳ. Maven dependency✨
4848
------------
4949

50+
**JDK 17+****OpenJDK** or **Oracle JDK**
51+
5052
```
5153
<dependency>
5254
<groupId>com.zfoo</groupId>
@@ -59,16 +61,7 @@ Perfect work development process, complete online solution
5961
Ⅴ. Install and use⭐
6062
------------
6163

62-
#### 1. Environmental Requirements and Installation
63-
64-
**17****OpenJDK** or **Oracle JDK** ,maven install to local repository
65-
66-
```
67-
If you do not have JDK installed, the quick installation method is to download directly
68-
from Project Structure, Platform Settings, SDKs in the upper right corner of Idea
69-
```
70-
71-
#### 2. [protocol](protocol/README.md) very fast serialization and deserialization
64+
#### 1. [protocol](protocol/README.md) ultimate performance serialization and deserialization
7265

7366
```
7467
// zfoo protocol registration, can only be initialized once
@@ -81,7 +74,7 @@ ProtocolManager.write(byteBuf, complexObject);
8174
var packet = ProtocolManager.read(byteBuf);
8275
```
8376

84-
#### 3. [net](net/README.md) very fast RPC framework, supports tcp udp websocket http
77+
#### 2. [net](net/README.md) ultimate performance RPC framework, supports tcp udp websocket http
8578

8679
```
8780
// Service provider, only need to add an annotation to the method, the interface will be automatically registered
@@ -101,14 +94,14 @@ NetContext.getCosumer()
10194
);
10295
```
10396

104-
#### 4. [hotswap](hotswap/src/test/java/com/zfoo/hotswap/ApplicationTest.java) hot update code, no need to stop the server, no additional configuration, just one line of code to start hot update
97+
#### 3. [hotswap](hotswap/src/test/java/com/zfoo/hotswap/ApplicationTest.java) hot update code, no need to stop the server, no additional configuration, just one line of code to start hot update
10598

10699
```
107100
// Pass in the class file that needs to be updated
108101
HotSwapUtils.hotswapClass(bytes);
109102
```
110103

111-
#### 5. [orm](orm/README.md) automatic mapping framework based on mongodb,The secondary cache is designed using [caffeine](https://github.com/ben-manes/caffeine) to fully release the database pressure
104+
#### 4. [orm](orm/README.md) automatic mapping framework based on mongodb,The secondary cache is designed using [caffeine](https://github.com/ben-manes/caffeine) to fully release the database pressure
112105

113106
```
114107
// You don't need to write sql and any configuration yourself, define a table in the database directly through annotation definitions
@@ -123,7 +116,7 @@ public class UserEntity implements IEntity<Long> {
123116
entityCaches.update(userEntity);
124117
```
125118

126-
#### 6. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) use the observer design pattern, decouples different modules and improves the quality of the code
119+
#### 5. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) use the observer design pattern, decouples different modules and improves the quality of the code
127120

128121
```
129122
// To receive an event, you only need to add an annotation to the method and the method will be automatically listen for the event
@@ -136,7 +129,7 @@ public void onMyNoticeEvent(MyNoticeEvent event) {
136129
EventBus.post(MyNoticeEvent.valueOf("My event"));
137130
```
138131

139-
#### 7. [scheduler](scheduler/README.md) scheduling Framework Based on Cron Expression
132+
#### 6. [scheduler](scheduler/README.md) scheduling Framework Based on Cron Expression
140133

141134
````
142135
@Scheduler(cron = "0/1 * * * * ?")
@@ -145,7 +138,7 @@ public void cronSchedulerPerSecond() {
145138
}
146139
````
147140

148-
#### 8. [storage](storage/src/test/java/com/zfoo/storage/ApplicationTest.java) Excel to class automatic mapping framework, you only need to define a class corresponding to Excel, and directly parse Excel
141+
#### 7. [storage](storage/src/test/java/com/zfoo/storage/ApplicationTest.java) Excel to class automatic mapping framework, you only need to define a class corresponding to Excel, and directly parse Excel
149142

150143
```
151144
@Storage

README_CN.md

+9-15
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
Ⅳ. Maven依赖✨
5050
------------
5151

52+
**JDK 17+****OpenJDK** or **Oracle JDK**
53+
5254
```
5355
<dependency>
5456
<groupId>com.zfoo</groupId>
@@ -60,15 +62,7 @@
6062
Ⅴ. 安装和使用⭐
6163
------------
6264

63-
#### 1. 环境要求和安装
64-
65-
**JDK 17**,可以在 **OpenJDK****Oracle JDK** 无缝切换,下载完本项目,maven install到本地仓库即可使用
66-
67-
```
68-
如果你没有安装JDK,快速的安装方法是在Idea的右上角Project Structure,Platform Settings,SDKs中直接下载
69-
```
70-
71-
#### 2. [protocol](protocol/README.md) 目前性能最好的Java序列化和反序列化库
65+
#### 1. [protocol](protocol/README.md) 极致性能的Java序列化和反序列化库
7266

7367
```
7468
// zfoo协议注册,只能初始化一次
@@ -82,7 +76,7 @@ ProtocolManager.write(byteBuf, complexObject);
8276
var packet = ProtocolManager.read(byteBuf);
8377
```
8478

85-
#### 3. [net](net/README.md) 目前速度极快的RPC框架,支持 tcp udp websocket http
79+
#### 2. [net](net/README.md) 极致性能的RPC框架,支持 tcp udp websocket http
8680

8781
```
8882
// 服务提供者,只需要在方法上加个注解,则自动注册接口
@@ -102,14 +96,14 @@ NetContext.getCosumer()
10296
);
10397
```
10498

105-
#### 4. [hotswap](hotswap/src/test/java/com/zfoo/hotswap/ApplicationTest.java) 热更新代码,不需要停止服务器,不需要额外的任何配置,一行代码开启热更新
99+
#### 3. [hotswap](hotswap/src/test/java/com/zfoo/hotswap/ApplicationTest.java) 热更新代码,不需要停止服务器,不需要额外的任何配置,一行代码开启热更新
106100

107101
```
108102
// 传入需要更新的class文件
109103
HotSwapUtils.hotswapClass(bytes);
110104
```
111105

112-
#### 5. [orm](orm/README.md) 基于mongodb的自动映射框架,使用 [caffeine](https://github.com/ben-manes/caffeine) 设计了二级缓存,充分释放数据库压力
106+
#### 4. [orm](orm/README.md) 基于mongodb的自动映射框架,使用 [caffeine](https://github.com/ben-manes/caffeine) 设计了二级缓存,充分释放数据库压力
113107

114108
```
115109
// 无需自己写sql和任何配置,直接通过注解定义在数据库中定义一张表
@@ -124,7 +118,7 @@ public class UserEntity implements IEntity<Long> {
124118
entityCaches.update(userEntity);
125119
```
126120

127-
#### 6. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) 事件总线解耦不同模块,提高代码的质量,核心思想是观察者设计模式
121+
#### 5. [event](event/src/test/java/com/zfoo/event/ApplicationTest.java) 事件总线解耦不同模块,提高代码的质量,核心思想是观察者设计模式
128122

129123
```
130124
// 接收一个事件,只需要在需要接收事件的方法上加一个注解就会自动监听这个事件
@@ -137,7 +131,7 @@ public void onMyNoticeEvent(MyNoticeEvent event) {
137131
EventBus.post(MyNoticeEvent.valueOf("我的事件"));
138132
```
139133

140-
#### 7. [scheduler](scheduler/README.md) 基于cron表达式的定时任务调度框架
134+
#### 6. [scheduler](scheduler/README.md) 基于cron表达式的定时任务调度框架
141135

142136
````
143137
@Scheduler(cron = "0/1 * * * * ?")
@@ -146,7 +140,7 @@ public void cronSchedulerPerSecond() {
146140
}
147141
````
148142

149-
#### 8. [storage](storage/src/test/java/com/zfoo/storage/ApplicationTest.java) Excel类自动映射框架,只需要定义一个和Excel对应的类,直接解析Excel
143+
#### 7. [storage](storage/src/test/java/com/zfoo/storage/ApplicationTest.java) Excel类自动映射框架,只需要定义一个和Excel对应的类,直接解析Excel
150144

151145
```
152146
@Storage

protocol/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ English | [简体中文](./README_CN.md)
33
### Ⅰ. Introduction
44

55
- [zfoo protocol](https://github.com/zfoo-project/zfoo/blob/main/protocol/README.md)
6-
Fast framework for binary serialization and deserialization in Java, and has the fewest
7-
serialization bytes
6+
Ultimate performance binary serialization and deserialization in Java, and has the fewest serialization bytes
87
- The protocol is currently natively supported **C++ Java Javascript C# Go Lua GDScript Python**,It's easy to do cross-platform
98
- The protocol can customize the private protocol format to make your protocol more secure, and supports adding fields
109
and being compatible with previous and subsequent protocols

protocol/README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Ⅰ. 简介
44

55
- [zfoo protocol](https://github.com/zfoo-project/zfoo/blob/main/protocol/README.md)
6-
是目前的Java二进制序列化和反序列化速度极快的框架,并且为序列化字节最少的框架
6+
是极致性能的Java二进制序列化和反序列化的框架,并且为序列化字节最少的框架
77
- 协议目前原生支持 **C++ Java Javascript C# Go Lua GDScript Python**,可以轻易实现跨平台
88
- 协议可以自定义私有协议格式,让你的协议更加安全,支持增加字段和兼容前后版本协议
99
- 兼容protobuf,支持生成protobuf协议文件,提供从pojo到proto的生成方式

0 commit comments

Comments
 (0)