1、简单介绍一下 Spring bean 的生命周期 1.实例化 Instantiation 2.属性赋值 Populate 3.初始化 Initialization 4.销毁 Destruction 2、Spring 各模块结构 (1)核心容器:包括 Core、Beans、Context、EL 模 ...
分类:
编程语言 时间:
2021-07-05 17:09:31
阅读次数:
0
writedby 张艳涛 长连接是HTTP/1.1的特征之一,1.1出现的原因是因为一个客户请求一个网页,这是一个http请求,这个网页中如果有图片,那么也会变为一个http请求,对于java客户端,一个http请求 是通过socket.getinputstream.cast(PrintWriter ...
分类:
Web程序 时间:
2021-07-05 16:48:32
阅读次数:
0
1.需要在联网的linux环境下下载好所需要的包 /root/temp 目录 pip3 download impala -d /root/temp pip3 download impyla -d /root/temp 2.下载之后的包 3.然后拷贝到离线的环境下 执行 pip3 install安装所 ...
分类:
编程语言 时间:
2021-07-05 16:41:50
阅读次数:
0
检测Tomcat日志关键字异常 日常工作中经常会遇到Tomcat日志报特定的错误导致 Linux 服务器CPU暴涨,这时候需要重启应用才可以降下来 所以就需要写一个shell脚本,报出特定的错误就重启应用 shell脚本如下: [root@Mike-VM-Node-10_10_0_188 ~]# v ...
分类:
其他好文 时间:
2021-07-02 16:18:28
阅读次数:
0
背景 参考了狂神老师的 Docker 教程,非常棒! https://www.bilibili.com/video/BV1og4y1q7M4?p=15 直接运行容器 本地找不到镜像会自动下载 --rm Automatically remove the container when it exits ...
分类:
其他好文 时间:
2021-07-01 16:48:43
阅读次数:
0
SQL 测试表脚本 1 DECLARE @Temp Table 2 ( 3 ID INT, 月份 4 MoneyData Float 金额 5 ) 6 7 insert INTO @TEMP 8 SELECT 1,100 UNION ALL 9 SELECT 2,200 UNION ALL 10 S ...
分类:
其他好文 时间:
2021-06-30 17:56:22
阅读次数:
0
web相关概念回顾 web服务器软件 Tomcat ...
分类:
编程语言 时间:
2021-06-29 16:10:48
阅读次数:
0
1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
移动开发 时间:
2021-06-29 16:09:22
阅读次数:
0
1.目录 2.service package main import ( "fmt" "net" ) func processConn(conn net.Conn) { for { //3.与客户端通信 var temp [128]byte n, err := conn.Read(temp[:]) ...
分类:
其他好文 时间:
2021-06-29 16:04:05
阅读次数:
0