
Java/J2EE
findsun
这个作者很懒,什么都没留下…
展开
-
Java 动态代理示例
public interface SomeClass { public abstract void someMethod(); public abstract void someOtherMethod(final String text);} public class SomeClassImpl implements SomeClass{ private String原创 2004-07-29 03:40:00 · 1040 阅读 · 0 评论 -
Stand alone的Spring示例 (AOP)
Referneces: 1. An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1: http://www.onjava.com/lpt/a/4994 2. http://www.springframework.org/docs/wiki/Spring_AOP_Framework.html原创 2004-07-30 02:42:00 · 2522 阅读 · 0 评论 -
J2EE without EJB 读书笔记 -- Light weight Container & IoC
容器所应提供的服务包括:1. 生命周期管理2. 查找: 查找被管理对象的引用3. 配置: 使用一致的方法, 来配置被管理的对象4. 依赖性解析: IoC的策略有两种:1. 依赖性查找: 传统的类似JNDI的方法2. 依赖性注入: 使用JavaBean property的方法叫做Setter注入或者type 2, 使用构造函数参数的叫做构造函数注入或者type 3.原创 2004-07-29 03:43:00 · 4278 阅读 · 8 评论 -
Stand alone的Spring示例 (IoC)
Reference: 1. 60秒入门教程: http://gabriel.jarchitect.org/spring/index.html 必需的jar文件包括: spring-core.jar, common-logging.jar, 在IDEA中, 运行Java虚拟机的目录并不是classes目录, 因此它在当前目录中无法找到"bean.xml"文件, 使用下面的代码: import原创 2004-07-29 03:44:00 · 2459 阅读 · 0 评论 -
[zt] cglib2 proxy tutorial
http://alexwinston.com/blog/2004/03/23/1080068110000.html for those that are familiar with aop will have most certainly heard of cglib. for those that have not, cglib provides the ability instrument转载 2004-07-29 03:38:00 · 1739 阅读 · 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/Dir...” button. But you can only原创 2004-07-29 03:53:00 · 5474 阅读 · 0 评论 -
On-Line Rich Text Editor.
FreeTextBox 2.0: Supports Mozilla & IE. Need fee to download source code. FreeTextBox 1.6 and below: GPL project, you can find in SourceForge, but not supports Mozilla. Cross-Browser Rich Text Editor:原创 2004-07-29 06:33:00 · 2561 阅读 · 0 评论