02 2018 档案

SSM搭建
摘要:1.pom.xml 2. jdbc.properties generatorConfig.xml 反向生成 entity mapper mapper.xml 数据库驱动路径 <!-- 数据库驱动 --> <classPathEntry location="H:\jar\mysql-connector 阅读全文

posted @ 2018-02-26 22:11 松峰 阅读(201) 评论(0) 推荐(0)

jboss安装
摘要:找到压缩包 打开eclipse help 倒数第三个 找到hibernate.tools 阅读全文

posted @ 2018-02-26 15:01 松峰 阅读(97) 评论(0) 推荐(0)

GIT
摘要:在网上下载项目 阅读全文

posted @ 2018-02-07 09:55 松峰 阅读(151) 评论(0) 推荐(0)

redis
摘要: 阅读全文

posted @ 2018-02-06 11:12 松峰 阅读(99) 评论(0) 推荐(0)

tomcat负载均衡
摘要:1. 2.同一个Tomcat解压两次 名字不同而已 3. 两个server.xml都修改这三个位置 4. 打开tomcat cmd 黑窗口 进行nginx操作 在这里面写点东西 可以测试负载均衡是否成功 浏览器输入localhost 即可 阅读全文

posted @ 2018-02-05 17:44 松峰 阅读(102) 评论(0) 推荐(0)

set的三种遍历
摘要:对 set 的遍历 1.迭代遍历: Set<String> set = new HashSet<String>(); Iterator<String> it = set.iterator(); while (it.hasNext()) { String str = it.next(); System 阅读全文

posted @ 2018-02-05 11:42 松峰 阅读(1005) 评论(0) 推荐(0)

map的四种遍历
摘要:转!! Java中如何遍历Map对象的4种方法 在Java中如何遍历Map对象 How to Iterate Over a Map in Java 在java中遍历Map有不少的方法。我们看一下最常用的方法及其优缺点。 既然java中的所有map都实现了Map接口,以下方法适用于任何map实现(Ha 阅读全文

posted @ 2018-02-05 11:40 松峰 阅读(230) 评论(0) 推荐(0)