08 2016 档案

摘要:When the servletcontainer (like Apache Tomcat) starts up, it will deploy and load all webapplications. When a webapplication get loaded, the servletco 阅读全文
posted @ 2016-08-30 21:27 SolidMango
摘要:If you write Web applications in Java, the servlet is your best friend. Whether you write Java ServerPages (JSP) or plain servlets, you are both at th 阅读全文
posted @ 2016-08-30 21:24 SolidMango
摘要:C++程序员如何转Java 忙里偷闲,到了这个时间终于得空写一篇早想写的文章。其实本文的标题有些不太准确,C++程序员写Java代码不是说就非得转行写Java,抛弃C++,而只是多了一个选择而已。两种语言各有优势,这里我们且不谈语言之争,就假设有朋友需要这样一种角色转变,写了多年的C++,一时间突然 阅读全文
posted @ 2016-08-28 23:04 SolidMango 阅读(13104) 评论(2) 推荐(2)
摘要:Part I:equals() (javadoc) must define an equivalence relation (it must be reflexive, symmetric, and transitive). In addition, it must be consistent (i 阅读全文
posted @ 2016-08-23 22:37 SolidMango 阅读(371) 评论(0) 推荐(0)
摘要:The singleton pattern restricts the instantiation of a class to one object. In Java, to enforce this, the best approach is to use an enum. This great 阅读全文
posted @ 2016-08-17 16:21 SolidMango