统计

留言簿(1)

DB

Others

QA

Tech Website

阅读排行榜

评论排行榜

05 2011 档案

【转】Android = Java ?
     摘要: The Java community is now swamped with discussions about Oracle's patent suit against Google's Android platform. I've been contributing my opinion in several places, but there is one critical topic that needs repeating the same comments everywhere... so, this blog spills the beans once and completely.  阅读全文

posted @ 2011-05-31 11:06 XXXXXX 阅读(541) | 评论 (0)  编辑

Activity Lifecycle
     摘要: Activities in the system are managed as an activity stack. When a new activity is started, it is placed on the top of the stack and becomes the running activity -- the previous activity always remains below it in the stack, and will not come to the foreground again until the new activity exits.  阅读全文

posted @ 2011-05-31 09:31 XXXXXX 阅读(278) | 评论 (0)  编辑

【转】How google test software-part one
     摘要: The one question I get more than any other is "How does Google test?" It's been explained in bits and pieces on this blog but the explanation is due an update  阅读全文

posted @ 2011-05-30 08:10 XXXXXX 阅读(693) | 评论 (0)  编辑

【转】To new or not to new
     摘要: Dependency injection asks us to separate the new operators from the application logic. This separation forces your code to have factories which are responsible for wiring your application together. However, better than writing factories, we want to use automatic dependency injection such as GUICE to do the wiring for us. But can DI really save us from all of the new operators?  阅读全文

posted @ 2011-05-29 10:20 XXXXXX 阅读(251) | 评论 (1)  编辑

【转】How to think about OO
     摘要: Everyone seems to think that they are writing OO after all they are using OO languages such as Java, Python or Ruby. But if you exam the code it is often procedural in nature  阅读全文

posted @ 2011-05-29 09:48 XXXXXX 阅读(274) | 评论 (1)  编辑

【转】The SET Career Path

posted @ 2011-05-25 00:04 XXXXXX 阅读(271) | 评论 (0)  编辑

Visitor模式和Double Dispatch
     摘要: 静态分派(Static Dispatch),发生在编译时期,分派是根据静态类型信息发生的,方法重载就是静态分派。
动态分派(Dynamic Dispatch),发生在运行时期,动态分派动态地置换掉某个方法。面向对象的语言用动态分派实现多态性。
Java语言支持静态多分派和动态的单分派,复用设计模式Java可以实现Double Dispatch,即访问者模式。  阅读全文

posted @ 2011-05-24 16:54 XXXXXX 阅读(1613) | 评论 (1)  编辑

【转】性能测试指标的基本概念

posted @ 2011-05-21 15:04 XXXXXX 阅读(327) | 评论 (0)  编辑

REST-表象化状态转变

posted @ 2011-05-10 22:07 XXXXXX 阅读(309) | 评论 (0)  编辑

【转】架构就是关注点分离
     摘要: 要设计良好的架构,必须做到关注点分离,这样可以产生高内聚、低耦合的系统,这是美丽架构的终极原则  阅读全文

posted @ 2011-05-10 22:02 XXXXXX 阅读(407) | 评论 (0)  编辑

CyclicBarrier in Java
     摘要: A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point. CyclicBarriers are useful in programs involving a fixed sized party of threads that must occasionally wait for each other. The barrier is called cyclic because it can be re-used after the waiting threads are released.  阅读全文

posted @ 2011-05-07 15:35 XXXXXX 阅读(637) | 评论 (0)  编辑

CountDownLatch in Java
     摘要: A java.util.concurrent.CountDownLatch is a concurrency construct that allows one or more threads to wait for a given set of operations to complete  阅读全文

posted @ 2011-05-07 15:10 XXXXXX 阅读(249) | 评论 (0)  编辑

Multithreaded Servers in Java

posted @ 2011-05-07 09:58 XXXXXX 阅读(172) | 评论 (0)  编辑

【转】探索式测试

posted @ 2011-05-05 22:58 XXXXXX 阅读(257) | 评论 (0)  编辑