`
starfeng
  • 浏览: 11892 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
// init processEngine = Configuration.getProcessEngine(); repositoryService = processEngine.getRepositoryService(); executionService = processEngine.getExecutionService(); taskService = processEngine.getTaskService();   // deploy process repositoryService.createDeployment().addResourcesFromZ ...
踏实与忽悠通常都在被视为一种能力, 最能代表忽悠的唐骏式人才的失败,将会将人引向重回踏实和本份, 至少评价的天平会偏向踏实的这一方. 很多时候,稍微夸张一些的自我介绍配合上一些空洞的号召,总能在推销自我时起到放大的作用, 但随着唐骏事件的深入人心, 空洞的渲染只会适得其反. 人本能的会对这类的词语提高警惕, 质疑是否是另一个唐骏式人物的再现, 正如现在的人, 对保险推销的相当排斥, 虽然保险人总能慷慨其词, 陈述其带来的无数利好, 结果依是少有人买帐.   更远一点的结果是, 人将更加现实的看待问题, 更多的理性放在现在能解决什么, 而非遥远的无限美好的可能.
构建序, 利用序   序有, 元素间的序, 精确度的序. 构建序时, 要注意规避元素变化对序的破坏. o代表着"时间与命中"   http://dev.firnow.com/course/3_program/java/javaxl/200847/108456.html 二分: 基于有序队例的折半 B: 有序链表, 在 ...
1. Lucene索引原理 http://blog.csdn.net/geekwang/archive/2008/11/29/3410187.aspx 1) 倒排文件索引结构 2) 关键词, 文章号[出现频率], 出现位置 3) 关键字是按字符顺序排列的(lucene没有使用B树结构),因此 lucene可以用二元搜索算法快速定位关键词 4) 减小索引文件的大小,Lucene 对索引还使用了压缩技术   2. Lucene:基于Java的全文检索引擎简介 http://www.chedong.com/tech/lucene.html Index IndexWriter wr ...

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 where b.id=?
1. javax.transaction.xa.XAResource   2. ACID   3. Dirty read, unrepeatable read, phantom read, 第一类丢失失更新, 第二类丢失失更新   4. Lock Row (share, exclusive),  Table(Row(share, exclusive), exclusive) 悲观锁:for update,乐观锁: @version   5. Isolate Read uncommitted: NONE except  第一类丢失失更新  Read Committed:   ...
Ehcache.put RegisteredEventListeners.notifyElementPut cache.update(key, value) QueryLoader.list // queryTranslator.getQuerySpaces() factory.getSettings().isQueryCacheEnabled() && queryParameters.isCacheable() listUsingQueryCache QueryKey.generateQueryKey sql ...
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 eclipse plugin: refer to http://code.google.com/eclipse/docs/getting_started.html   2. download the e ...
http://beavercreekconsulting.com/blog/2008/10/hibernate-annotations-for-a-one-to-many-mapping/   Key: the 2 Embedded ids can have manytoone relationship
http://www.iteye.com/news/16485   top --> right --> bottom --> left   content --> padding --> border --> margin   box-sizing: content-box / border-box   default value of IE6  is border-box, but the standard of W3C is content-box.
  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 column1 in (select column1 from 小表) 2. exists大表 select * from 小表 where exists (select column1 from 大表 w ...
Use a new name to deploy the resource   web.xml <resource-ref id="ResourceRef_1234567890123"> <description></description> <res-ref-name>jdbc/xxxDataSource</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Conta ...
<!-- ********************** Cache Section ************************************ --> <bean id="cacheServiceCacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> <property name="configLocation"> <v ...
<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 running VM. The following properties are translated: user.home - User's home directo ...
<?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="RESOURCE_LOCAL"> <provider>org.hibernate. ...
Global site tag (gtag.js) - Google Analytics