- 博客(15)
- 问答 (1)
- 收藏
- 关注
原创 JBPM
// initprocessEngine = Configuration.getProcessEngine();repositoryService = processEngine.getRepositoryService();executionService = processEngine.getExecutionService();taskService = processEng...
2010-07-12 12:50:51 105
唐骏的失败,检验真理的标准将向实干精神倾斜
踏实与忽悠通常都在被视为一种能力, 最能代表忽悠的唐骏式人才的失败,将会将人引向重回踏实和本份, 至少评价的天平会偏向踏实的这一方.很多时候,稍微夸张一些的自我介绍配合上一些空洞的号召,总能在推销自我时起到放大的作用, 但随着唐骏事件的深入人心, 空洞的渲染只会适得其反. 人本能的会对这类的词语提高警惕, 质疑是否是另一个唐骏式人物的再现, 正如现在的人, 对保险推销的相当排斥, 虽然保险人总...
2010-07-11 01:58:05 104
原创 查找算法
构建序, 利用序 序有, 元素间的序, 精确度的序. 构建序时, 要注意规避元素变化对序的破坏.o代表着"时间与命中" http://dev.firnow.com/course/3_program/java/javaxl/200847/108456.html二分: 基于有序队例的折半B: 有序链表, 在修改层面引入平衡算法后, 可在查询层面等同二分B-: 关键字...
2010-07-02 02:37:21 111
原创 Lucene
1. Lucene索引原理http://blog.csdn.net/geekwang/archive/2008/11/29/3410187.aspx1) 倒排文件索引结构2) 关键词, 文章号[出现频率], 出现位置3) 关键字是按字符顺序排列的(lucene没有使用B树结构),因此 lucene可以用二元搜索算法快速定位关键词4) 减小索引文件的大小,Lucene 对索引还使...
2010-07-01 23:42:43 124
HQL
1. WHERE a.class IN (ClassName1, ClassName2) 2. WHERE ?1 member of a.collectionProperty query.setParameter(1, collectionClassInstance)VS a join a.collectionProperty as b...
2010-07-01 18:52:21 105
Transaction
1. javax.transaction.xa.XAResource 2. ACID 3. Dirty read, unrepeatable read, phantom read, 第一类丢失失更新, 第二类丢失失更新 4. LockRow (share, exclusive), Table(Row(share, exclusive), exclusive)悲观锁...
2010-07-01 18:45:16 84
hibernate cache
Ehcache.put RegisteredEventListeners.notifyElementPutcache.update(key, value)QueryLoader.list // queryTranslator.getQuerySpaces() factory.getSettings().isQueryCacheEnabled() &&...
2010-06-30 17:36:07 91
EXT-GWT入门
Preparation:read the document of GWT and understand the basic knowledge of GWT:http://code.google.com/webtoolkit/doc/1.6/tutorial/index.html Setup (BY eclipse plugin):1. install gwt ecl...
2010-06-18 16:27:43 164
Composite, Primary Key having a Composite, Foreign, Sub-Key
http://beavercreekconsulting.com/blog/2008/10/hibernate-annotations-for-a-one-to-many-mapping/ Key: the 2 Embedded ids can have manytoone relationship
2010-06-13 11:24:54 109
原创 收录:盒子模型
http://www.iteye.com/news/16485 top --> right --> bottom --> left content --> padding --> border --> margin box-sizing: content-box / border-box default value of IE6 ...
2010-06-13 10:56:47 80
原创 difference among in, exists, =
in,exists,=in是把外表和内表作hash 连接exists是对外表作loop循环,每次loop循环再对内表进行查询name in ('a','b','c') <==> name='a' or name='b' or name='c' better performance:1. in小表select * from 大表 where colum...
2010-06-05 04:17:09 193
原创 name binding of webshpere
Use a new name to deploy the resource web.xml <resource-ref id="ResourceRef_1234567890123"> <description></description> <res-ref-name>jdbc/xxxDataSource</res-ref...
2010-06-04 13:11:03 156
原创 use ehcache in spring
<!-- ********************** Cache Section ************************************ --> <bean id="cacheServiceCacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"...
2010-06-04 12:18:57 66
原创 ehcache configuration (cluster env)
<ehcache> <!-- Sets the path to the directory where cache .data files are created. If the path is a Java System Property it is replaced by its value in the runni...
2010-06-04 12:10:56 136
原创 hibernate persistence configuration
<?xml version="1.0" encoding="UTF-8"?><persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"> <persistence-unit name="xxx" transaction-type="
2010-06-04 11:52:16 174
空空如也
Ext的Panel中用load()动态加载一页面,如何访问这个页面的元素
2009-05-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人