摘要: The Commons is an Apache project focused on all aspects of reusable Java components. Commons developers will make an effort to ensure that their components have minimal dependencies on other libraries, so that these components can be deployed easily. In addition, Commons components will keep their interfaces as stable as possible, so that Apache users (including other Apache projects) can implement these components without having to worry about changes in the future. 阅读全文
posted @ 2013-02-06 15:07 hejiajunsh 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 数据库连接是一种关键的有限的昂贵的资源,这一点在多用户的网页应用程序中体现得尤为突出。对数据库连接的管理能显著影响到整个应用程序的伸缩性和健壮性,影响到程序的性能指标。数据库连接池正是针对这个问题提出来的。数据库连接池负责分配、管理和释放数据库连接,它允许应用程序重复使用一个现有的数据库连接,而再不是重新建立一个;释放空闲时间超过最大空闲时间的数据库连接来避免因为没有释放数据库连接而引起的数据库连接遗漏。这项技术能明显提高对数据库操作的性能。 阅读全文
posted @ 2013-02-04 16:33 hejiajunsh 阅读(12013) 评论(0) 推荐(0) 编辑
摘要: java基础知识精华 阅读全文
posted @ 2013-01-29 14:32 hejiajunsh 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 很多时候,JBPM自己提供的用户系统是不够用的,这时候就要求我们自己去扩展自己的用户体系。JBPM允许外挂一个用户体系。 阅读全文
posted @ 2013-01-29 13:42 hejiajunsh 阅读(1720) 评论(0) 推荐(0) 编辑
摘要: google.com.hk/google.com打不开的解决办法 阅读全文
posted @ 2013-01-29 11:58 hejiajunsh 阅读(1294) 评论(0) 推荐(0) 编辑
摘要: 超文本传送协议:hypertext transport protocol;HTTP定义:一种详细规定了浏览器和万维网服务器之间互相通信的规则,通过因特网传送万维网文档的数据传送协议。 阅读全文
posted @ 2013-01-29 11:50 hejiajunsh 阅读(153) 评论(0) 推荐(0) 编辑
摘要: IM技术全称Instant Messaging,中文翻译“即时通讯”,它是一种使人们能在网上识别在线用户并与他们实时交换消息的技术,是电子邮件发明以来迅速崛起的在线通讯方式。 阅读全文
posted @ 2013-01-29 11:13 hejiajunsh 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 1.缓存概述 缓存(cache)在java应用程序中是一组内存中的集合示例,它保存着永久性存储源(如硬盘上的文件或数据库)中数据的备份,它的读写速度比读写硬盘的速度快。应用程序在运行时直接读写缓存中的数据,只在某些特定时刻按照缓存中的数据来同步更新数据存储源。如果缓存中存放的数据量非常大,也会用硬盘作为缓存的物理介质 缓存的作用就是降低应用程序直接读写永久性数据存储源的频率,从而增强应用的运行性能 缓存的实现不仅需要作为物理介质的硬件(内存),同时还需要用于管理缓存的并发访问和过期等策略的软件 2.缓存范围分类 缓存的范围决定了缓存的声明周期以及可以被谁访问。总共分三类 1)事务范围 事务范围 阅读全文
posted @ 2013-01-29 10:34 hejiajunsh 阅读(266) 评论(0) 推荐(0) 编辑