2004年7月28日

[zt] cglib2 proxy tutorial

摘要: http://alexwinston.com/blog/2004/03/23/1080068110000.htmlfor those that are familiar with aop will have most certainly heard of cglib. for those that have not, cglib provides the ability instrument by... 阅读全文

posted @ 2004-07-28 06:27 findsun 阅读(865) 评论(0) 推荐(0) 编辑

Add library (classpath) in IDEA 4

摘要: Right click the java module item in the project view, the popup menu shows, and click the “Module Settings ...”, then select “Library (Classpath)” tab, then click “Jar/Di... 阅读全文

posted @ 2004-07-28 05:38 findsun 阅读(912) 评论(0) 推荐(0) 编辑

Java 动态代理示例

摘要: publicinterfaceSomeClass{publicabstractvoidsomeMethod();publicabstractvoidsomeOtherMethod(finalStringtext);}publicclassSomeClassImplimplementsSomeClass{privateStringuserName;publicSomeClassImpl(finalS... 阅读全文

posted @ 2004-07-28 05:20 findsun 阅读(978) 评论(1) 推荐(0) 编辑

J2EE without EJB 读书笔记 -- Light weight Container & IoC

摘要: 容器所应提供的服务包括:1. 生命周期管理2. 查找: 查找被管理对象的引用3. 配置: 使用一致的方法, 来配置被管理的对象4. 依赖性解析: IoC的策略有两种:1. 依赖性查找: 传统的类似JNDI的方法2. 依赖性注入: 使用JavaBean property的方法叫做Setter注入或者type 2, 使用构造函数参数的叫做构造函数注入或者type 3.Setter注入: JavaBe... 阅读全文

posted @ 2004-07-28 01:01 findsun 阅读(477) 评论(0) 推荐(0) 编辑

导航