03 2013 档案
摘要:require.jspromise模式, jquery 的deffered对象。use strict(使用严格模式) 符合很多的条件限制。javascript的编译时和运行时, var function的概念有待追求清楚。var keyword in javascript:If you're in a function then "var" will create a local variable, "no var" will look up the scope chain until it finds the variable or hits
阅读全文
摘要:通俗地说,即当A无法为客户服务时,系统能够自动地切换,使B能够及时地顶上继续为客户提供服务,且客户感觉不到这个为他提供服务的对象已经更换。实际用例:MQ的failover配置: failover:(tcp://localhost:61616)
阅读全文
摘要:1:类一被loader就会被放在perm size里面, 里面存放的是class和meta信息。 java.lang.OutOfMemoryError: Java perm space2:类的实例则是被存放在heap区。 java.lang.OutOfMemoryError: Java heap spacesun 的 JVM不回针对perm区进行垃圾回收,heap区则会被进行垃圾回收处理。
阅读全文
摘要:1:关于java递归调用内存泄露:递归中创建了对象,导致在JVM中维护了一条长长的调用轨迹。http://www.blogjava.net/vesung/archive/2008/06/03/205474.html2:从DB中load除了大量的对象,导致OOM, 比如hibernate的外连接的假分页现象。
阅读全文
摘要:why use js template?Javascript templates are rendered and cached client-side without sending an HTTP request to the server — in other words, they’re lightning fast
阅读全文

浙公网安备 33010602011771号