首先spring是一个企业级J2EE的框架,用于开发一个webApp,它是针对bean的生命周期进行管理的轻量级容器。主要由七个部分组成:Spring Core、Spring AOP、Spring ORM、Spring DAO、Spring Context、Spring Web、Spring Web ...
分类:
编程语言 时间:
2020-07-04 19:09:41
阅读次数:
79
工作流程1 Map Task MR工作流程2 Reduce Task 1)提交切片信息,jar包,和xml配置文件到yarn。2)Yarn ResourceManager启动一个MR AppMaster。3)AppMaster根据切片信息启动相应数量的Map Task。4)Map Task取读取按照 ...
分类:
其他好文 时间:
2020-07-03 23:29:37
阅读次数:
60
1.通过IDEA加大jvm,tomcat内存 在VM options中添加:-Dfile.encoding=UTF-8 -mx2048m -XX:MaxPermSize=2048m -Drebel.spring_plugin=true -Drebel.hibernate_plugin=true 2. ...
分类:
其他好文 时间:
2020-07-03 12:22:52
阅读次数:
67
商品列表查询 Easyui 商品添加 商品类目选择 图片上传 富文本编辑器使用 添加的实现 展示首页 略 分页插件 在SqlMapConfig.xml,配置一个plugin 在sql语句执行之前,添加一个PageHelper.startPage(page,rows); 取分页结果,创建一个PageI ...
分类:
其他好文 时间:
2020-07-03 00:46:11
阅读次数:
59
1. 搭建 MyBatis Generator 插件环境 a. 添加插件依赖 pom.xml b. 配置文件 generatorConfig.xml c. 数据库配置文件 jdbc.properties d. 配置插件启动项 2.项目实战 a. 比如在一个项目 我们要删除某个小组下某个用户的信息 b ...
分类:
其他好文 时间:
2020-07-02 16:45:32
阅读次数:
62
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
编程语言 时间:
2020-07-01 22:06:42
阅读次数:
61
Spring Boot has taken Spring framework to the next level. It has drastically reduced the configuration and setup time required for spring projects. Sp ...
分类:
数据库 时间:
2020-07-01 18:40:39
阅读次数:
64
java使用redis 很简单,看我的github的例子就行 spirng整合redis,这里用xml配置方式实现 2.1导包 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis ...
分类:
编程语言 时间:
2020-06-30 20:24:26
阅读次数:
80
异常: org.springframework.orm.hibernate3.HibernateSystemException: No default constructor for entity Caused by: org.hibernate.InstantiationException: No ...
分类:
其他好文 时间:
2020-06-30 12:50:04
阅读次数:
55
1、对于Hibernate和MyBatis的区别与利弊,谈谈你的看法 Hibernate与MyBatis的对比: 1.MyBatis非常简单易学,与Hibernate相对较复杂,门槛较高; 2.二者都是比较优秀的开源产品; 3.当系统属于二次开发,无法对数据库结构做到控制和修改,那MyBatis的灵 ...
分类:
其他好文 时间:
2020-06-30 11:05:18
阅读次数:
58