原创 Java bytecode

Java bytecode: Understanding bytecode makes you a better programmer Document options Print this page E-

原创 Inversion of Control Containers and the Dependency Injection pattern ---- Martin Fowler

Contents Components and Services A Naive Example Inversion of Control Forms of Dependency Injection Constructor Inj

原创 eclipse中如何寫一個測試私有方法的junit?

eclipse中如何寫一個測試私有方法的junit?假設類Summer定義如下:public class Summer{   private int methodone(String argsone){      //method cod

原创 java 的 Proxy

一 代理類 1.代理類實例和java.lang.reflect.Proxy 代理類一種在運行期創建的,實現指定的一組接口的類可以通過如下方法來獲得代理類實例: java.lang.reflect.Proxy

原创 爲你的j2ee應用增加AOP 特性

   你不需要修改現有的代碼或者它的接口,應用Gang of Four (GoF) Decorator 模式提供了一種添加AOP的途徑。   假設我們有一個簡單的接口: public interface IMyBusinessObject

原创 tech talk

Gregor Hohpe: All right, well, thanks everybody for coming bright and early. It’s 9 o’clock in Las Vegas and I actually

原创 AOP@Work: AOP myths and realities

AOP@Work: AOP myths and realities Beyond hype and misunderstandings Document options Print this page E-

原创 uncover the hood of j2ee clustering (TSS)

Preface More and more mission-critical and large scale applications are now running on Java 2, Enterprise Edition (J2E

原创 Classworking toolkit: Generics with ASM

Classworking toolkit: Generics with ASM Find out how to access generic type information from Java 5 code using the ASM

原创 Eclipse快捷鍵

Eclipse快捷鍵 編輯作用域 功能 快捷鍵全局 查找並替換 Ctrl+F文本編輯器 查找上一個 Ctrl+Shift+K文本編輯器 查找下一個 Ctrl+K全局 撤銷 Ctrl+Z全局 複製 Ctrl+C全局 恢復上一個選擇 Alt

原创 An introduction to class loading and debugging tools

Demystifying class loading problems, Part 1: An introduction to class loading and debugging tools Learn how class load

原创 Java名人錄

Adrian Colyer AspectJ leader,AJDJ leader,IBM    Ben Galbraith 活躍人士   Benjamin Renaud BEA副CTO   Bill Burke JBoss 架構師,EJB

原创 在Eclipse中安裝javaJad 反編譯class文件

在網上下載javajad(反編譯工具),jadclipse (反編譯工具的eclipse插件), 配置Eclipse 1 menu->windows-->references-->java-->JadClipse見圖      res

原创 oracle 中查詢某表的主外鍵依賴關係的SQL

select               A.TABLE_NAME as OWNER, B.TABLE_NAME as REFER from USER_CONSTRAINTS A, USER_CONSTRAINTS B where A.O

原创 用於將Oracle外鍵屏蔽的SQL

   在JUnit時,一般不需要考慮外鍵。但目前數據庫生成過程中已經將外鍵建好,這樣 在增刪改數據時,比較麻煩。按以下方法執行,可以根據自己的需要使外鍵失效或者生效。   先執行以下SQL   SELECT 'ALTER TABLE '