Netty是Trustin Lee在2004年开发的一款高性能的网络应用程序框架。相比于JDK自带的NIO,Netty做了相当多的增强,且隔离了jdk nio的实现细节,API也比较友好,还支持流量整形等高级特性。在我们常见的一些开源项目中已经普遍的应用到了Netty,比如Dubbo、Elastic ...
分类:
Web程序 时间:
2020-04-11 09:28:15
阅读次数:
96
FastDFS两个主要的角色:Tracker Server 和 Storage Server 。 Tracker Server:跟踪服务器,主要负责调度storage节点与client通信,在访问上起负载均衡的作用,和记录storage节点的运行状态,是连接client和storage节点的枢纽。 ...
分类:
其他好文 时间:
2020-04-06 17:35:40
阅读次数:
76
1. 就和tomcat内嵌到springboot中, springboot也提供了一种内嵌数据库,可以让我们在开发过程中无需配置MySql数据库就可以工作. <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifact ...
分类:
数据库 时间:
2020-04-05 15:34:36
阅读次数:
82
问题 用过idea(笔者经常用2018.3.x)创建 spring boot项目的时候默认会创建一个以下骨架的测试代码 package com.atguigu; import org.junit.jupiter.api.Test; import org.springframework.boot.te ...
分类:
编程语言 时间:
2020-04-04 20:20:22
阅读次数:
587
需要被监控的微服务工程pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId></dependency>yml中 manag ...
分类:
其他好文 时间:
2020-04-04 20:19:37
阅读次数:
67
codegenerate 3.6.3 maven Maven Repository: org.jeecgframework ? codegenerate https://mvnrepository.com/artifact/org.jeecgframework/codegenerate Maven ...
分类:
其他好文 时间:
2020-04-03 20:07:18
阅读次数:
220
整理一些小工具 の 依赖方便用的时候好找一些 jackson:主要用于json 处理:Java对象与Json 互相转换 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --> ...
分类:
编程语言 时间:
2020-04-03 16:36:34
阅读次数:
62
1.背景 实际开发中经常用到很多的工具类,这里hutool提供了一系列的工具类,下面重点介绍常用的工具类. 2.使用步骤 官方文档:https://hutool.cn/docs/#/ 添加依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId ...
分类:
其他好文 时间:
2020-04-03 12:28:19
阅读次数:
142
<!-- https://mvnrepository.com/artifact/dom4j/dom4j --> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> ...
分类:
其他好文 时间:
2020-04-03 12:27:23
阅读次数:
94
当我们使用ssm框架整合进行项目开发,使用Shiro作为安全验证管理,在web.xml中配置Shiro过滤器后 启动Tomcat会报错: Error during artifact deployment. See server log for details. <bean id="shiroFilt ...
分类:
Web程序 时间:
2020-04-02 22:41:39
阅读次数:
144