原创 數字與字符串相加

當數字與字符串相加時,數字將轉化爲字符串如:1 + ‘2’ = ‘12’

原创 tomcat尋找配置文件

開源項目中尋找配置文件,一般先從系統屬性中讀,讀不到就到指定的路徑下去找,還是找不到就到類路徑下找。如tomcat:1.從catalina.confi

原创 firefox下,獲得iframe的document

通過contentDocument屬性

原创 effective enterprise java

1.內置監控(happybit.jsp)2.內置管理3.先測量性能,再優化4.爲版本並存使用獨立的jre5.瞭解jdbc驅動,瞭解數據庫6.批處理sq

原创 web service

web service is running up :D

原创 inheritance mapping

the three strategies:[list][*]table per class hierarchy[*]table per subclass[*]table per concrete class

原创 Securities trade life cycle

http://www.ksvali.com/wp-content/uploads/2009/04/securitiestradeprocessing_04.pdfhttp://books.google.co

原创 how to monitor tibco ems server

the tool was found in tibco community, need to validate if it works.

原创 扯蛋333

上傳個照片備用,應付其他需要哈哈哈

原创 數據庫完整性

[b]更新丟失:[/b]當有兩個寫進程同時修改相同的數據時,往往會出現一個寫進程做的修改覆蓋了另一個寫進程的修改。這種情況是完整性問題最常見的類型。互斥鎖的設計就是防範這種問題的出現。[b]髒讀:[/b]一

原创 linux command

[b]sudo[/b]:superuser do[b]su:[/b]substitute user[b]touch:[/b]give the specified file's current date an

原创 log4j實現

1.通過拋出異常,然後分析異常串來獲得調用日誌接口的類2.將conversionPattern中的pattern解析出來,形成pattern鏈來實現日誌的格式化輸出

原创 Spring petstore log4j initialize

1.用listener初始化log4j2.servlet的日誌記錄在應用服務器日誌裏,servletContext.log();

原创 overview of NodeManager

The Managed Servers in a production WebLogic Server environment are often distributed across multiple m