- 博客(83)
- 问答 (2)
- 收藏
- 关注
原创 Securities trade life cycle
http://www.ksvali.com/wp-content/uploads/2009/04/securitiestradeprocessing_04.pdfhttp://books.google.co.in/books?id=_vAVps_1K7MC&hl=zh-CN&source=gbs_similarbooks
2011-06-15 22:56:46 277
原创 ssl &ca
donot remember where to get the resource, thanks to original writer.
2011-05-30 23:39:24 127
原创 overview of NodeManager
The Managed Servers in a production WebLogic Server environment are often distributed across multiple machines and geographic locations.Node Manager is a Java utility that runs as separate process...
2011-05-27 10:25:14 94
原创 how to monitor tibco ems server
the tool was found in tibco community, need to validate if it works.
2011-05-22 13:09:45 113
原创 how to create a j2ee with maven
1.note that add ejb to ear as a dependency
2011-05-20 00:09:29 85
原创 best practice about building ear
http://www.oracle.com/technetwork/cn/topics/entarch/packaging-best-practices-100465-zhs.html
2010-10-26 22:23:51 89
原创 get previous day in shell script
search google to find how to get previous day in shell script echo "Usage: catalina.sh ( commands ... )" echo "commands:" if $os400; then echo " debug Start Catalina in a d...
2010-10-19 07:32:23 87
inheritance mapping
the three strategies:[list][*]table per class hierarchy[*]table per subclass[*]table per concrete class[/list][b]1.Table per class hierarchy[/b]Suppose we have an interface Payment wit...
2010-06-15 11:10:24 115
原创 Spring petstore log4j initialize
1.用listener初始化log4j2.servlet的日志记录在应用服务器日志里,servletContext.log();
2010-01-25 21:40:09 129
原创 log4j实现
1.通过抛出异常,然后分析异常串来获得调用日志接口的类2.将conversionPattern中的pattern解析出来,形成pattern链来实现日志的格式化输出
2010-01-18 11:16:45 130
原创 apache common logging design philosophy
The Logging package is an ultra-thin bridge between different logging implementations.Note that commons-logging does not attempt to initialise or terminate the underlying logging implementation th...
2010-01-07 20:54:25 93
数据库完整性
[b]更新丢失:[/b]当有两个写进程同时修改相同的数据时,往往会出现一个写进程做的修改覆盖了另一个写进程的修改。这种情况是完整性问题最常见的类型。互斥锁的设计就是防范这种问题的出现。[b]脏读:[/b]一个事务修改的数据在提交前被另一个事务读取,就会发生脏读。由于事务提交的修改有可能会被回滚,因而其他事务读取的这个数据就可能不正确。为了避免读锁导致的竞争,许多数据库都允许脏读。[b]不可...
2009-12-14 20:44:42 97
linux command
[b]sudo[/b]:superuser do[b]su:[/b]substitute user[b]touch:[/b]give the specified file's current date and time;if the specified file doesn't exist,then create an empty file;[b]free:[/b]display in...
2009-12-02 16:21:36 75
原创 file协议
[b]英文原义:[/b]File Protocol[b]中文释义:[/b]本地文件传输协议[b]注解:[/b]File协议主要用于访问本地计算机中的文件,就如同在Windows资源管理器中打开文件一样。[b]应 用:[/b]要使用File协议,基本的格式如下:file:///文件路径,比如要打开F盘flash文件夹中的1.swf文件,那么可以在资源管理器或IE地址栏中键入:file:/...
2009-11-20 18:23:45 118
what is a gnome-terminal
It is called "terminal emulator". It's a program that put a window up and let you interact with the shell.
2009-11-19 22:00:41 131
what is a shell
In a nutshell, the shell is a program that takes your command from the keyboard and gives them to the operating system to perform. On most linux systems a program called bsh act as the shell program.
2009-11-19 21:55:14 246
分层设计
对于一个业务系统而言,系统研发的目标是为特定业务提供支持,业务逻辑往往是系统的核心,将业务逻辑与数据访问逻辑分离是很重要的。[img]http://dl.iteye.com/upload/attachment/169196/9f7a5d25-c2bf-354d-a8f7-f267dbefdc7b.png[/img]分层的好处:1.可以屏蔽该层隐藏的复杂性,如业务逻辑层可以不必清...
2009-11-17 10:52:24 128
effective enterprise java
1.内置监控(happybit.jsp)2.内置管理3.先测量性能,再优化4.为版本并存使用独立的jre5.了解jdbc驱动,了解数据库6.批处理sql语句以避免往返访问7.不要假设拥有数据,schema经常变化,写sql时不要写select * from table,只取回需要的列8.积极加载频繁使用的数据,惰性加载不频繁使用的数据9.对象优先的持久化方法 ...
2009-11-16 23:04:19 97
tomcat类加载体系结构
tomcat中有三个classloader:commonLoader、catalinaLoader、sharedLoader。这三个classloader可以加载的资源在catalina.properties中配置。commonLoader是catalinaLoader和sharedLoader的父classLoder。...
2009-11-09 14:36:18 80
tomcat寻找配置文件
开源项目中寻找配置文件,一般先从系统属性中读,读不到就到指定的路径下去找,还是找不到就到类路径下找。如tomcat:1.从catalina.config系统属性中找2.从conf/catalina.properties中找3.从类路径下去找catalina.properties...
2009-11-09 10:55:01 220
原创 div触发onkeydown事件
onkeydownfirfox下不能执行,ie下可以,只要在div上加上tabindex属性firefox下也就可以触发onkeydown事件了,至于为什么这样还不清楚firefox下body(即document)元素不用添加tabindex属性,onkeydown也可以执行...
2009-11-02 13:12:23 1358
原创 JSP中的pageEncoding和contentType属性
关于JSP页面中的pageEncoding和contentType两种属性的区别:pageEncoding是jsp文件本身的编码contentType的charset是指服务器发送给客户端时的内容编码JSP要经过两次的“编码”,第一阶段会用pageEncoding,第二阶段会用utf-8至utf-8,第三阶段就是由Tomcat出来的网页, 用的是contentType。...
2009-10-14 22:31:02 64
原创 pageEncoding解析
pageEncoding 作为 Jsp page 指令的一个属性,表示当前 jsp 文件的编码格式。 Jsp 需要由 jsp 引擎先转化为 servlet 源代码然后再编译 ,最后由 servlet 引擎载入执行。那么 , pageEncoding 就主要用在(建议只用在) jsp 转为 servlet code 这步,由于 jsp 引擎需要读取 jsp file ,那么就需要知道这个 jsp...
2009-10-14 22:23:23 568
ie的getElementsByName
在ie下使用getElementsByName的时候,需要在input上同时设置id和name,ie寻找的实际是id值
2009-06-29 16:23:58 102
ie6 right bottom bug
[code="java"] Insert title here div#selected { position: absolute; border: 2px solid black; displ...
2009-06-20 21:28:58 66
typeof 运算符返回值
typeof运算符把类型信息以字符串返回,返回值有六种可能:"number","boolean","string","object","function","undefined"
2009-05-29 21:29:32 495
原创 firefox accesskey 配置
firefox 2.0 与 Access Key应该有包括我在内的很多人有键盘快捷的习惯,在 Web 中,只要定义了 Access Key 的事件都可以用键盘快捷来进行触发。这话如果有点抽象,举一些实例你就很容易明白:比如大部分论坛你写完稿要提交时,你可以不用再把手移至鼠标去点击 submit 按钮,而直接用 alt+s(有的是 alt+enter)来完成。在这里,s 就是定义好的 Acc...
2009-05-26 09:18:08 216
原创 css hack(underscore, alternate stylesheet, png...)
你或许已经设计出完美的网站,而且在所有的浏览器都测试过了,Firefox, Safari, Opera, Internet Explorer。我在考虑一个网站吗?我们都这么做过。在IE开始支持WEB标准之前,我们的网站在IE上浏览的时候几乎看起来都像废物一样。那是很无奈,因为(不幸)Internet Explorer是最受欢迎的浏览器。那你应该如何是你的网站在所有的浏览器中都保持使用标准的同时让它...
2009-05-06 22:53:05 74
原创 不定宽度的ul(列表)css水平居中
[code="java"] 不定宽度的CSS水平居中 ol, ul { list-style: none } #cha { background: #00FFFF; ...
2009-04-26 23:01:20 198
空空如也
可否在应用服务器中启动线程
2009-11-09
绝对定位的div中嵌套绝对定位的div
2009-03-30
TA创建的收藏夹 TA关注的收藏夹
TA关注的人