cluster nad non-cluster index
clustered and nonclustered indexes A clustered index is a special type of index that reorders the way records in the table are physically stored. ...
code review
Code Review时考虑到的有 从Collection中remove出来的对象标记为null 少用静态变量(全局变量,静态变量不会被GC自动回收?) 避免把生命周期不同的对象堆在一起成为一个大的对象 JDBC Connection/Statement...
Dynamic Proxy in Java
The implementation of dynamic proxy in JDK that only supports interfaces is as follows: Call static methods in java.lang.reflect.Proxy newProxyIns...
Java GC Strategy
The GC strategy of Sun Hotspot JVM is generational: Yong Generation: Eden, Survivor1, Survivor2 Scavenge GC, Copy algorithm, frequent GC Old(Tenur...
Websphere Portal User Management
Through the following call chain *PUMA interface Portal, Portlets PUMA (Portal User Management Architecture) WMM (Websphere Member Manager) The ...
Database appearance
Relational databases are based on strict relational database theory, but in the face of challenges from existing e-commerce and SNS website busine...
How to restrict the calling of interfaces in Web Services
Join WS Security Policy? Add gateway security filtering before Web Service? Add user ID/caller ID and org ID/name information to ...
Java Regular Expressions
Translated from: http://hi.baidu.com/xu_yunan/blog/item/7ce5d93bb279d22c96ddd843.html Various instances of regular expressions ###Username 12345^[a...
基于Web 的Service接口
目前网络上有一些基于Web发布的Service接口,此处不一定特指基于SOAP的Web Service接口。大多时候我更喜欢暴露出一个URL,开发者传入查询参数返回XML或者jason数据的接口。比如: Wiki接口http://en.wiktionary.org/w/api.php?a...
如何避免两个对象的相互引用引起的堆栈溢出
两个对象相互引用,并且这种引用关系定义在构造函数中时,初始化这种对象会引起堆栈溢出。因为对象1的初始化调用了对象2的初始化,反之亦然。这样会构成死循环。解决方法是用一个无参数的构造函数代替。对象的引用依赖关系通过Set方法在对象初始化之后设置进去。当然一个缺点是需要注意无参数构造函数生成的对象...