1、JDK Proxy动态代理 2、CGlib实现动态代理 3、ProxyFactory实现动态代理 ...
分类:
编程语言 时间:
2020-05-10 01:41:22
阅读次数:
81
1、忘记导入spring-aop-4.2.4.RELEASE.jar包,会报下面的异常信息 Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected ex ...
分类:
编程语言 时间:
2020-05-10 01:05:52
阅读次数:
69
maven依赖 mysql mysql connector java 5.1.47 org.mybatis mybatis 3.5.2 junit junit 4.12 编写一个mybatis.xml配置文件 db.properties文件 driver=com.mysql.jdbc.Driver ...
分类:
其他好文 时间:
2020-05-09 00:39:23
阅读次数:
61
1. 字节流 2. File类 3. 字符流 1. 字节流 1.1 InputStream和OutputStream 这是两个接口 (1)InputStream abstract int read() 读一个字节 int read(byte[] b) 读字节到此数组 int read(byte[] ...
分类:
编程语言 时间:
2020-05-08 23:07:44
阅读次数:
62
package spark.action.factory; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.sql ...
分类:
其他好文 时间:
2020-05-08 21:18:36
阅读次数:
120
工厂模式 简介: 工厂模式(Factory Pattern)是 Java 中最常用的设计模式之一。这种类型的设计模式属于创建型模式,它提供了一种创建对象的最佳方式。 在工厂模式中,我们在创建对象时不会对客户端暴露创建逻辑,并且是通过使用一个共同的接口来指向新创建的对象。 实现: 1.创建一个动物接口 ...
分类:
其他好文 时间:
2020-05-08 18:43:15
阅读次数:
80
"Abstract:" In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left ...
分类:
其他好文 时间:
2020-05-08 18:11:11
阅读次数:
61
错误详细信息: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticsearchClient' defined in class path resource [o ...
分类:
其他好文 时间:
2020-05-08 00:29:37
阅读次数:
260
https使用了很多年,而且人们对安全的渴望让https更加的普及,个人觉得https主要解决了2个主要的安全问题。 1. 通过数字证书保证通信数据发给正确的接收方。 2. 通过对称加密来保障通信过程中,数据不被窃听。 其实没有数字证书也是可以完成通信的,只是浏览器会提醒本次通信是不安全的,虽然通信 ...
分类:
Web程序 时间:
2020-05-07 23:17:18
阅读次数:
156
0507构造代码块和static案例,接口interface 【重点】 ~~~ 1.局部变量,成员变量,静态变量的特点 2.接口 接口语法:interface A {} 接口内的成员变量【缺省属性】public static final 接口内的成员方法【缺省属性】public abstract 接 ...
分类:
其他好文 时间:
2020-05-07 19:36:05
阅读次数:
55