- 博客(6)
- 收藏
- 关注
原创 Spring xml设置
id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> name="properties" ref="configProperties" />id="configProperties" class="org.springframewor
2016-08-29 14:06:12 458
原创 Apache Commons
BCELBeanUtilsArrayConverterBeanComparatorBeanUtilscloneBean(Object bean)即使原bean未实现cloneable,依旧clone。copyProperties(Object dest, Object orig)将src的属性复制到dst,仅对名字相同的属性。浅拷贝。
2016-08-23 17:39:13 341
原创 实用IDEA技巧
1. review 代码展示选项 View -> Enter Presentation Mode2. 代码比较选项 View -> Compare With 与本地,远程文件比较代码。选项 View -> Compare With Clipboard 与一个打开的可编辑记事本比较。3. 查询方法的调用,被调用历史选项 Navigate -> Method H
2016-08-19 15:15:22 1966
原创 Spring配置文件参考
1. Annotation自动扫描-->context:component-scan base-package="com.baidu.fbu.fcore.accounting.loan" />context:component-scan base-package="com.baidu.fbu.fcore.accounting" />context:component-scan ba
2016-08-19 13:15:59 945
原创 MyBatis 简单参考
INSERT例子1. Insertint insert(AccountingEntryEntity accountingEntry);id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="com.baidu.fbu.fcore.accounting.common.entity.Accoun
2016-08-18 18:10:27 332
原创 PractByzantFaTolece Algo
Practical Byzantine Fault Toleranceand Proactive Recovery3. Service Properties为何 n >= 3f + 1?与分布式系统的RW有关。首先定义一个分布式系统的两种操作:Read,Write。由于f是最大的可容忍宕机数量。因此,当client发出一个W请求后,只需要有n-f个机器响应就代表
2016-08-09 17:33:56 450
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人