Jboot v3.5.2 发布,默认缓存 由 ehcache 修改为 caffeine

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

内容简介:Jboot 是一个基于 JFinal、JFinal-Undertow、Dubbo、Seata、Sentinel、ShardingSphere、Nacos 等开发的微服务框架,帮助开发者降低微服务开发门槛。同时完美支持在 idea、eclipse 下多 maven 模块,对 java 代码、...

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

Jboot 最近发布了几个大的版本。

Jboot  v3.4.0 新增 AttachmentContainer,方便我们使进行分布式文件保存和文件读取。

Jboot v3.5.0 新增了 InterceptorBuilder,方便我们在运行时对拦截器进行动态添加或删除。

到目前为止,Jboot 已经开源超过了 4 年的时间,迭代了 150+ 个版本,已经被超过 1000+ 公司在使用,启动包含了多个知名的上市公司。

 

Jboot 主要有以下特征:

  • 1、基于 JFinal 的 MVC + ORM 快速开发。
  • 2、基于 ShardingSphere + Seata 分布式事务 和 分库分表。
  • 3、基于 Dubbo 或 Motan 的 RPC 实现
  • 4、基于 Sentinel 的分布式限流和降级
  • 5、基于 Apollo 和 Nacos 的分布式配置中心
  • 6、基于 EhCache 和 Redis 的分布式二级缓存

Jboot v3.5.2  更新内容如下:

  • 优化:InterceptorBuilderManager,完善其相关测试
  • 优化:ClassUtil,完善 singleton 等方法
  • 优化:Jboot 缓存默认类型 由 ehcache 修改为 caffeine
  • 优化:优化启动输出内容 和 sql 打印内容
  • 优化:JbootRender,当不启用 CDN 的时候进一步提升性能
  • 优化:JbootRedisCacheImpl buildKey() 方法
  • 优化:JbootJson 并新增更多的配置
  • 优化:InterceptorBuilderManager 的方法名并添加更多可配置的方法
  • 优化:AttachmentManager,当分布式文件不存在时,访问文件 500 错误的问题

 

maven 依赖:

<dependency>
    <groupId>io.jboot</groupId>
    <artifactId>jboot</artifactId>
    <version>3.5.2</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);
    }
}

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

Ant Colony Optimization

Ant Colony Optimization

Marco Dorigo、Thomas Stützle / A Bradford Book / 2004-6-4 / USD 45.00

The complex social behaviors of ants have been much studied by science, and computer scientists are now finding that these behavior patterns can provide models for solving difficult combinatorial opti......一起来看看 《Ant Colony Optimization》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

SHA 加密
SHA 加密

SHA 加密工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具