- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 spring aop "Advice precedence circularity error"
用spring的aspect进行aop编程时报出"Advice precedence circularity error" exception. google了一下发现只要将advice中的方法按照befor,around,after顺序排列即可解决。 详细参考http://forum.springframework.org/showthread.php?t=58498...
2009-01-19 17:29:57 390
原创 XML Schema
What is an XML Schema? The purpose of an XML Schema is to define the legal building blocks of an XML document, just like a DTD. An XML Schema: defines elements that can appear in a document defines a...
2008-12-21 13:37:08 119
原创 note
Apache ActiveMQ which is the most popular and powerful open source message broker Apache CXF which is a smart web services suite (JAX-WS) Apache MINA a networking framework Apache Servic...
2008-12-20 23:07:13 159
原创 Elinks快捷键
突 然有兴趣看看Linux下的字符模式的浏览器,搜了下有好几个,在Ubuntu里“添加/删除”里找到一个,叫Elinks,安装,然后在终端运行 elinks,试用了一下,不错,使用方法也挺简单的,支持多标签,支持中文。按Esc键在帮助菜单找到快捷键,翻译一下,备忘,冒号分割符 主界面键 z:终止连接 a:添加到书签 A:添加连接到书签 s:书签管理器 C:缓冲管理器 K:cookie管...
2008-11-18 23:46:40 267
原创 使用smslib实现java与手机的串口通信
http://smslib.org/ http://code.google.com/p/smslib/ http://bbs.et8.net/bbs/archive/index.php/t-667627.html http://zeroliu.iteye.com/blog/108536 http://hi.baidu.com/tianyistar/blog/item/9...
2008-11-10 23:50:05 152
原创 LRU/LFU/FIFO
LRU -Least Recently Used,没有被使用时间最长的 LFU -Least Frequenty User,一定时间段内使用次数最少的 FIFO -First In First Out
2008-11-04 12:54:59 359
原创 String
字符串字面池指的是常量池.字符串对象的创建方式有两种如下:String s1 = new String(""); //第一种String s2 = ""; //第二种第一种始终不会入池的.第二种要看情况而定(等号右边如果是常量则入池,非常量则不入池)例:String s3 = "a" + "b"; //"a"是常量,"b"是常量,常量+常量=常量,所以会入池
2008-10-21 23:56:59 136
原创 inverse="true"
一个Person可以参加多个Event,一个Event有多个Person参加。映射文件如下: <!-- Person.hbm.xml --><hibernate-mapping package="events"> <class name="Person" table="person"> <id name="id" col
2008-10-11 02:11:05 160
原创 php5 tips
mysql_connect: 脚本执行结束时,自动 close,而使用 mysql_close 是为了在脚本结束前提前 close, 所以一般用不着 mysql_close mysql_pconnect: 执行时首先寻找一个已经打开的连接,若存在就直接使用,否则才创建一个新的连接 用 mysql_pconnect 较好,因为省略了很多重复的 close/connect 操作,速度可能更快。 连...
2008-10-05 18:53:11 132
原创 Fatal error:Call to undefined function mysqli_conn
在PHP.INI中将;extension=php_mysqli.dll前面的注释去掉保存即可 我采用的是解压缩版的php,若没有php.ini,复制php.ini-recommended为php.ini即可。 同时修改 extension_dir = "D:/PHP5/ext"...
2008-10-05 18:03:03 128
原创 apache2.2中虚拟路径配置
Alias: Maps web paths into filesystem paths and is used to access content that does not live under the DocumentRoot. Example: Alias /webpath /full/filesystem/path If you inclu...
2008-10-05 14:38:10 142
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人