Jboot 2.2.8 发布,精雕细琢、优化细节

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Jboot 是一个基于 JFinal、JFinal-Undertow、Dubbo 等开发的微服务框架,帮助开发者降低微服务开发门槛。同时完美支持在 idea、eclipse 下多 maven 模块,对java代码、html、css、js 等资源文件进行热加载,爽爽地...

Jboot 是一个基于 JFinal、JFinal-Undertow、Dubbo 等开发的微服务框架,帮助开发者降低微服务开发门槛。同时完美支持在 idea、eclipse 下多 maven 模块,对 java 代码、html、css、js 等资源文件进行热加载,爽爽地开发。

Jboot v2.2.8 更新内容如下:

  • 新增:新增 工具 类 NamedThreadFactory,方便用于构建线程池
  • 新增:新增工具类 NamedThreadPools,方便代替 Executors 的使用
  • 新增:新增 Model 的拷贝工具类 ModelCopier,方便对 Model 进行拷贝
  • 新增:对缓存注解 @Cacheable 新增 returnCopyEnable 的支持
  • 新增:对验证器注解 @EmptyValidate 等新增 errorCode 配置的支持
  • 优化:优化 JbootMQ 中的一些异常提示文字错误
  • 优化:添加 JWt 的 validityPeriod 配置说明
  • 优化:对 ScheduleManager 的 ScheduledThreadPoolExecutor 添加线程命名

maven 依赖:

<dependency>
    <groupId>io.jboot</groupId>
    <artifactId>jboot</artifactId>
    <version>2.2.8</version>
</dependency>

Hello World:

@RequestMapping("/")
public class HelloworldController extends JbootController {

    public void index(){
        renderText("hello world");
    }

    public static void main(String[] args){
        JbootApplication.run(args);
    }
}

 


以上所述就是小编给大家介绍的《Jboot 2.2.8 发布,精雕细琢、优化细节》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Spring in Action

Spring in Action

Craig Walls / Manning Publications / 2011-6-29 / USD 49.99

Spring in Action, Third Edition has been completely revised to reflect the latest features, tools, practices Spring offers to java developers. It begins by introducing the core concepts of Spring and......一起来看看 《Spring in Action》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器