摘要: 核心工作流业务建模(组织建模):描述组织内部各个系统如何协作,使得组织可以为其他的组织提供有价值的服务,新系统只不过是组织为了对外提供更好的服务,对自己的内部重新设计而购买的一个零件。需求:聚焦于待开发系统的边界,消息描述系统要卖的出去必须具有的表现-功能和性能。分析:提炼系统内需要封装到核心领域机... 阅读全文
posted @ 2015-12-01 13:31 sofia 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 分析与测试:代码质量,面向对象,测试,业务分析 阅读全文
posted @ 2013-10-22 10:14 sofia 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Public Class Lawyer{ private IInfoSend infoSend; public IInfoSend setInfoSend(IInfoSend infoSend) { this.infoSend=infoSend; } public void sendMsg() { this.infoSend.sendMsg(this.entity); }}Public Interface IInfoSend{ void sendMsg();}public class BJInfoSendImp implement IInfoSend{ private Ithird thir. 阅读全文
posted @ 2013-08-22 14:30 sofia 阅读(167) 评论(0) 推荐(0) 编辑
摘要: IOC 短信接口伪代码Public Class Lawyer{ private IInfoSend infoSend; public IInfoSend setInfoSend(IInfoSend infoSend) { this.infoSend=infoSend; } public void sendMsg() { this.infoSend.sendMsg(this.entity); }}Public Interface IInfoSend{ void sendMsg();}public class BJInfoSe... 阅读全文
posted @ 2013-08-21 10:26 sofia 阅读(358) 评论(0) 推荐(0) 编辑
摘要: http://pivotal.github.io/jasmine/ 阅读全文
posted @ 2013-08-08 16:04 sofia 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-07-30 15:25 sofia 阅读(472) 评论(1) 推荐(0) 编辑
摘要: function process(para1, para2, callback) { // .... callback();}process(1, 2, function () { alert('hello world!')}); 阅读全文
posted @ 2013-06-26 16:14 sofia 阅读(1838) 评论(1) 推荐(0) 编辑
摘要: 1.http://en.wikibooks.org/wiki/Java_Persistence/Caching#Example_JPA_2.0_Cacheable_annotationExample JPA 2.0 SharedCacheMode XML NONE2.http://wiki.eclipse.org/EclipseLink/FAQ/How_to_disable_the_shared_cache%3FThe shared cache can also be disabled. This can be done using the EclipseLink persistence u. 阅读全文
posted @ 2013-06-05 11:13 sofia 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1.需要测试的那个类是new出来的实例;2.被测试的类实例的对象所需要调用的接口或者对象都是mock出来的(无论是否已经有实现)。3.所有的接口都是根据被测试的类的需要产生的,即接口属于客户(被测试的类)。4.测试包含两种方法:1)状态测试。测试最终的状态是否正确。 2)行为测试。测试调用的过程和参数是否匹配。 阅读全文
posted @ 2013-05-23 13:34 sofia 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 上层不依赖于下层,大家都依赖于抽象。 阅读全文
posted @ 2013-03-02 14:56 sofia 阅读(97) 评论(0) 推荐(0) 编辑