Skip to Main Content

Chinese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[声明]本版导引,传统设计模式,J2EE设计模式,AOP

702619Oct 8 2004 — edited Feb 22 2008
注意了,发帖先看看 《论坛管理规范》,虽然人性化管理,对于违规行为决不留情
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=61&threadID=16044&tstart=0
各位如果认为自己的东西不错,可以按照上面链接里的模式告诉斑竹,斑竹会认真处理,并且相应的奖励.

o,模式的定义
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=125&threadID=17621

1,传统设计模式
已经成为经典,模式已经深入人心.
1)GOF的设计模式

创建型模式
*ABSTRACT FACTORY(抽象工厂)
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=125&threadID=17619&messageID=100404
*BUILDER(生成器)

*FACTORY METHOD(工厂方法)

*PROTOTYPE(原型)

*SINGLETON(单件)





J2EE设计模式

2,AOP
AOP已经成为OOP之后一个重要的概念,在未来会有更广泛的应用.
(1),动态代理
许多AOP框架使用动态代理,这是个小DEMO
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=121&threadID=16394&messageID=92349#92349

(2),我写的使用Spring的动态代理AOP的例子
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=125&threadID=16438&tstart=0

3,模式杂谈
谈谈对各种写程序方式的感受,对模式的理解.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2008
Added on Oct 8 2004
23 comments
2,575 views