2016年1月21日

遍历Java Map

摘要: 1 //1, get both key and value 2 for(Entry entry : map.entrySet()) 3 { 4 Integer key = entry.getKey(); 5 Strin... 阅读全文

posted @ 2016-01-21 16:35 万木春 阅读(167) 评论(0) 推荐(0) 编辑

2015年7月24日

mod_jk notes

摘要: mod_jk reading notes 阅读全文

posted @ 2015-07-24 11:47 万木春 阅读(234) 评论(0) 推荐(0) 编辑

2015年3月17日

NPM使用总结

摘要: NPM使用总结 阅读全文

posted @ 2015-03-17 15:32 万木春 阅读(130) 评论(0) 推荐(0) 编辑

2015年3月16日

Yeoman - scaffold JavaScript Web Application

摘要: Yeoman - scaffold JavaScript Web Application (setup new JavaScript web app quickly) 阅读全文

posted @ 2015-03-16 18:56 万木春 阅读(201) 评论(0) 推荐(0) 编辑

2014年12月8日

Java中的Marker Interfaces有什么用

摘要: Marker Interfaces就是没有方法的空接口,如Serializable, Clonnable, Remote,等等,它们存在的意义是什么呢?标准回答是:used to indicate something to compiler or JVM.其实,Annotation也具有同样的能力,... 阅读全文

posted @ 2014-12-08 17:44 万木春 阅读(291) 评论(0) 推荐(0) 编辑

2014年11月27日

有关Ehcache的内容的引用和Java的deep copy

摘要: 项目使用Ehcache来作为程序和数据库之间的缓冲,使用过程中会对cache对象做修改, 如plan.setLangSymbol(),发现后面使用cache的地方,取到的数据都是修改后的,所以猜测是cache的浅引用造成的。实际上,stackoverflow也有人提到此问题《Cache.get() ... 阅读全文

posted @ 2014-11-27 17:38 万木春 阅读(512) 评论(0) 推荐(0) 编辑

2014年11月26日

JDBC的PreparedStatement语句使用记录

摘要: > 列举了为什么PreparedStatement要优于Statement,其中最主要的两点是更快的性能和防止SQL注入攻击。在文章的末尾提到了一个局限性:PreparedStatement不允许一个占位符(?)有多个值,并提出了如何在**IN**子句使用PreparedStatement的棘手问题... 阅读全文

posted @ 2014-11-26 14:15 万木春 阅读(380) 评论(0) 推荐(0) 编辑

2014年11月5日

Useful Resources(To be updated)

摘要: 记录一些资源,有时间可以上去逛逛。 阅读全文

posted @ 2014-11-05 10:43 万木春 阅读(146) 评论(0) 推荐(0) 编辑

2014年10月21日

Apache使用OpenSSL遇到的问题

摘要: 一个Android APP使用HTTPs访问两台服务器,结果截然不同。第一台IP:192.168.22.119版本: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008(Android STB) ==> OK[21/Oct/2014:13:52:57 +0800] 192.... 阅读全文

posted @ 2014-10-21 17:03 万木春 阅读(1099) 评论(0) 推荐(0) 编辑

2014年9月26日

Java线程监控

摘要: Java程序的CPU使用情况监控 阅读全文

posted @ 2014-09-26 11:51 万木春 阅读(602) 评论(0) 推荐(0) 编辑

导航