随笔分类 -  java

摘要:官网 gitee:https://gitee.com/kekingcn/file-online-preview/tags 官网:https://kkfileview.keking.cn/zh-cn/index.html github:https://github.com/kekingcn/kkFil 阅读全文
posted @ 2024-12-03 11:00 大司徒 阅读(466) 评论(0) 推荐(0) 编辑
摘要:先简要介绍下Resin,resin是java的web服务容器,和tomcat同等产品,性能比tomcat优秀。启动服务之后,一般会存在这几个端口:1、WatchDog(监听狗 哈哈)端口, 默认:66002、Server监听端口,默认:68003、应用的Http端口(可自定义),默认:8080说明: 阅读全文
posted @ 2024-03-08 11:28 大司徒 阅读(669) 评论(0) 推荐(0) 编辑
摘要:1、引入spingsecurity依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> 启动项目访 阅读全文
posted @ 2024-02-05 15:24 大司徒 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1 base64编码 1.1 什么是Base64 所谓Base64,就是说选出64个字符:小写字母a-z、大写字母A-Z、数字0-9、符号"+"、"/"(再加上作为垫字的"=",实际上是使用65个字符),作为一个基本字符集。然后,其他所有符号都转换成这个字符集中的字符。 1.2 linux base 阅读全文
posted @ 2024-01-30 11:41 大司徒 阅读(62) 评论(0) 推荐(0) 编辑
摘要:swagger的使用 1、导入依赖 <!-- swagger依赖--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> 阅读全文
posted @ 2024-01-29 17:23 大司徒 阅读(23) 评论(0) 推荐(0) 编辑
摘要:一、网关 常用网关gateway,zuul 等。 gateway和spring-cloud兼容的更好,约占70%的市场。 二、基本使用 1、导入gateway网关依赖 <properties> <java.version>1.8</java.version> <project.build.sourc 阅读全文
posted @ 2024-01-29 14:23 大司徒 阅读(12) 评论(0) 推荐(0) 编辑
摘要:一、新建eureka项目 选择spring-web、eureka-server两个服务 二、检查maven依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmln 阅读全文
posted @ 2024-01-28 19:34 大司徒 阅读(43) 评论(0) 推荐(0) 编辑
摘要:导入依赖包 编写接口和xml 修改配置文件application.properties 编写 controller 测试使用 一、导入依赖包 <!--mybatis--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifac 阅读全文
posted @ 2024-01-17 18:20 大司徒 阅读(13) 评论(0) 推荐(0) 编辑
摘要:一、maven官网下载地址 https://maven.apache.org/download.cgi 二、安装maven 将下载的压缩包解压到非中文、没有空格的目录 , 在解压目录中,我们需要着重关注Maven的核心配置文件:conf/settings.xml 三、创建本地仓库 本地仓库这个目录, 阅读全文
posted @ 2023-11-28 18:34 大司徒 阅读(152) 评论(0) 推荐(0) 编辑
摘要:一、rabbitMQ的初相识 生产端代码 ` public void testSendMessage() throws IOException, TimeoutException { //创建连接mq的连接工厂对象 ConnectionFactory connectionFactory = new 阅读全文
posted @ 2021-04-15 08:53 大司徒 阅读(83) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/wlccomeon/article/details/104728489/ 阅读全文
posted @ 2021-03-30 15:50 大司徒 阅读(46) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示