ActFramework 是一款专注于代码表达力的高性能 Java MVC/RESTful 全栈框架.
主要更新:
更加易用的 AAA (认证, 授权, 记账) 集成 - 无需再写 Adaptor 类
全面升级的 e2e 支持 - 包括自动继承 cookie, header, 直接支持用户登录后以用户的 credential 发送请求
osgl-tool 升级到 1.17.0 - 提供更加完善的 Bean 拷贝支持, 现在能直接深克隆数组了
主要 bug 修复:
在 Job 线程里无法启动数据库事务
JWT Token 过期时限设置无效
详细更新信息链接:
安装使用:
在 pom.xml 文件中加入下面的 parent:
<parent> <groupId>org.actframework</groupId> <artifactId>act-starter-parent</artifactId> <version>1.8.8.6</version> </parent>
创建新项目
创建后台模板生成页面的项目
mvn archetype:generate -B \ -DgroupId=com.mycom.helloworld \ -DartifactId=helloworld \ -DarchetypeGroupId=org.actframework \ -DarchetypeArtifactId=archetype-quickstart \ -DarchetypeVersion=1.8.8.7
创建 RESTFul 数据服务项目
mvn archetype:generate -B \ -DgroupId=com.mycom.helloservice \ -DartifactId=helloservice \ -DarchetypeGroupId=org.actframework \ -DarchetypeArtifactId=archetype-simple-restful-service \ -DarchetypeVersion=1.8.8.7