摘要:
Java I/O and NIO.2 Five ways to maximize Java NIO and NIO.2 Build more responsive Java applications with the New Input/Output APIs Java NIO -- the New 阅读全文
摘要:
When the servletcontainer (like Apache Tomcat) starts up, it will deploy and load all webapplications. When a webapplication get loaded, the servletco 阅读全文
摘要:
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 阅读全文
摘要:
Part I:equals() (javadoc) must define an equivalence relation (it must be reflexive, symmetric, and transitive). In addition, it must be consistent (i 阅读全文
摘要:
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 阅读全文
摘要:
NPTL vs PThread POSIX threads (pthread) is not an implementation, it is a API specification (a standard, on paper, in english) of several functions wh 阅读全文