随笔 - 41  文章 - 29  trackbacks - 0
<2009年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

留言簿(5)

随笔分类(28)

随笔档案(23)

收藏夹(6)

Inside JVM

Java

java performance

Solr

搜索

  •  

最新评论

阅读排行榜

评论排行榜

     摘要: 本文讨论了实际工作中单元测试实践和测试驱动开发的感受和困惑,并试图通过研究业界实践来回答如下问题:为什么要进行单元测试,对谁进行单元测试,怎么进行单元测试。  阅读全文
posted @ 2010-07-13 17:34 Justin Chen 阅读(2881) | 评论 (2)编辑 收藏
     摘要: This message is a summary based on a very good article (http://www.ibm.com/developerworks/java/library/j-ts1.html?S_TACT=105AGX02&S_CMP=EDU) and focusing on common mistakes when implementing transactions in the Java platform. The original article is aimed to discuss Transaction Strategy. Here, we just want to discuss the common mistakes on transaction management.   阅读全文
posted @ 2009-04-15 15:12 Justin Chen 阅读(2850) | 评论 (0)编辑 收藏
     摘要: 从今天开始,本人将逐章翻译《剖析SQL Server执行计划(Dissecting SQL Server Execution Plans)》一书。该书是系列丛书《高性能SQL代码的艺术》的第一本,来源于http://www.infoq.com/news/2009/03/SQL- Performance。该书由SQL Server专家Grant Frltchey编写,并颇获好评。  阅读全文
posted @ 2009-04-14 22:43 Justin Chen 阅读(2282) | 评论 (0)编辑 收藏
     摘要: An Introduction to memcached - Improve Your Web Site Performance By Cache  阅读全文
posted @ 2009-04-12 21:29 Justin Chen 阅读(2087) | 评论 (0)编辑 收藏
     摘要: This article is a short summary on the interview with Werner Vogels, who is the CTO of Amazon.com.   阅读全文
posted @ 2009-04-11 21:27 Justin Chen 阅读(838) | 评论 (0)编辑 收藏
     摘要: This document is a summary or outline of Sun's document: Tuning Garbage collection with the 1.4.2 Hotspot JVM located here: http://java.sun.com/docs/hotspot/gc1.4.2/  阅读全文
posted @ 2009-04-01 17:19 Justin Chen 阅读(1051) | 评论 (0)编辑 收藏
     摘要: Mock test is a very good way to test unit of codes. However, Mock test need lots effort on creating mock object, creating input and output parameter, and creating AugumentMatcher, and also comparing the expected result and actual results (assertions). Using Unitils can Simplify most of the manual work required by Mock Test.   阅读全文
posted @ 2009-03-30 22:30 Justin Chen 阅读(2000) | 评论 (1)编辑 收藏