- 博客(5)
- 收藏
- 关注
原创 多线程注意东西
1.使用单例时为什么需要volatile public class Singleton { private static volatile Singleton singleton = null; private Singleton(){} public static Singleton getSingleton(){ if (singleton == null){ ...
2018-09-03 22:04:53 142
原创 spring/struts2
1.struts2-spring-plugin.jar作用?spring整合struts2框架需要的jar包,里面的strtus-plugin.xml配置文件将Action对象生产权交给spring管理2.<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-convention-plu
2017-10-14 16:44:29 386
翻译 spring整合hibernate细节
1. :扫描cn.aj.web包下的带有@Component,@Service,@Repository,@Controller等注解,并创建bean对象
2017-10-13 23:46:56 174 1
原创 elasticSearch基础知识
创建文档时,会自动创建索引(index)和映射 默认情况下,使用的分词方式是每个字为一个分词,但是这并不高效和实用,为此使用elasticSearch结合IK 分词器更符合实际应用
2017-10-13 19:52:54 206
原创 spring框架-基本jar包作用
spring-web org.springframework.web.context.ContextLoaderListener类配置在web.xml中,自动读取applicationContext.xml配置文件
2017-10-09 23:22:33 290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人