自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 问答 (1)
  • 收藏
  • 关注

原创 JBPM

// initprocessEngine = Configuration.getProcessEngine();repositoryService = processEngine.getRepositoryService();executionService = processEngine.getExecutionService();taskService = processEng...

2010-07-12 12:50:51 75

唐骏的失败,检验真理的标准将向实干精神倾斜

踏实与忽悠通常都在被视为一种能力, 最能代表忽悠的唐骏式人才的失败,将会将人引向重回踏实和本份, 至少评价的天平会偏向踏实的这一方.很多时候,稍微夸张一些的自我介绍配合上一些空洞的号召,总能在推销自我时起到放大的作用, 但随着唐骏事件的深入人心, 空洞的渲染只会适得其反. 人本能的会对这类的词语提高警惕, 质疑是否是另一个唐骏式人物的再现, 正如现在的人, 对保险推销的相当排斥, 虽然保险人总...

2010-07-11 01:58:05 96

原创 查找算法

构建序, 利用序 序有, 元素间的序, 精确度的序. 构建序时, 要注意规避元素变化对序的破坏.o代表着"时间与命中" http://dev.firnow.com/course/3_program/java/javaxl/200847/108456.html二分: 基于有序队例的折半B: 有序链表, 在修改层面引入平衡算法后, 可在查询层面等同二分B-: 关键字...

2010-07-02 02:37:21 83

原创 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 93

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 90

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 71

hibernate cache

Ehcache.put RegisteredEventListeners.notifyElementPutcache.update(key, value)QueryLoader.list // queryTranslator.getQuerySpaces() factory.getSettings().isQueryCacheEnabled() &&...

2010-06-30 17:36:07 78

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 144

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 91

原创 收录:盒子模型

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 66

原创 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 161

原创 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 119

原创 use ehcache in spring

<!-- ********************** Cache Section ************************************ --> <bean id="cacheServiceCacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"...

2010-06-04 12:18:57 54

原创 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 122

原创 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=&quot

2010-06-04 11:52:16 153

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除