在Spring的applicationContext.xml中配置映射文件,通常是在这个Bean实例中进行的,若配置的映射文件较少时,可以用sessionFactory的所属类LocalSessionFactoryBean的“mappingResources”属性,方式包括(mappingResou...
分类:
编程语言 时间:
2014-07-22 22:52:57
阅读次数:
194
lazy-init:设置只对scop属性为singleton的bean起作用。1.true;延迟加载;这时在第一次向容器通过getBean索取bean时实例化的。2.false:表示spring启动是立即进行实例化;在容器层次中通过在元素上使用'default-lazy-init'属性来控制延迟初始...
分类:
移动开发 时间:
2014-07-22 22:52:35
阅读次数:
231
What's xxxIn multivariate statistics and the clustering of data, spectral clustering techniques make use of the spectrum (eigenvalues) of the similari...
分类:
其他好文 时间:
2014-07-22 22:51:53
阅读次数:
193
一、设计原则
(1)减少内存碎片
(2)减少向操作系统申请内存的次数
(3)降低各个模块的开发效率
二、源码结构
struct ngx_pool_s {
ngx_pool_data_t d;
size_t max;
ngx_pool_t *current;
ngx_chain_t ...
分类:
其他好文 时间:
2014-07-19 23:16:14
阅读次数:
258
既然用Hibernate框架访问管理持久层,那为何又提到用Spring来管理以及整合Hibernate呢?把SessionFactory,Session,Transcational封装成包含crud的工具类并且处理了事务,那不是用不着spring了?Hibernate操作的步骤如下:1. ...
分类:
编程语言 时间:
2014-07-19 23:05:17
阅读次数:
668
文章转自:http://blog.csdn.net/farawayhome/article/details/6623946aspectj目录下是在Spring框架下使用aspectj的源代码和测试程序文件。Aspectj是java最早的提供AOP的应用框架。dist 目录下是Spring 的发布包,...
分类:
编程语言 时间:
2014-07-19 22:35:40
阅读次数:
302
$(function () { $.ajax({ url: 'http://ihisuns.vicp.cc:8765/PcClient.aspx', data: { "ModuleName": "MiXinDialo...
分类:
Web程序 时间:
2014-07-19 22:24:34
阅读次数:
253
Objective-C determine data network type of the iOS device
分类:
移动开发 时间:
2014-07-19 19:01:26
阅读次数:
443
JWNL是什么?JWNL is an API for accessing WordNet-style relational dictionaries. It also provides functionality beyond data access, such as relationship di...
分类:
其他好文 时间:
2014-07-19 18:12:04
阅读次数:
237