J2EE核心模式的学习

几天前,阅读了《Core J2EE Pattern》这本书,感觉挺好,由于没有使用过EJB,有些章节看的不是特别的懂,不过这是我完整读完的第一本英文参考书,值得庆祝。现将本书的核心pattern总结如下:

I have just finished reading my first English technoledge book <<Core J2EE Patterns>>.Although the process is not accurate and I haven't learned much more from the book,the most important is my finishing.A few months ago,I start read the book for improving English and my technoledge.

Reading this book is a new first thing for me.

The book tell us many patterns that are ususlly used in project.Many of them are used but we did't

make it as a pattern and name it.A few pettern about EJB aren't known for us because I have never applied EJB in my project.For extract useful knowledge,I will write a conclusion for the book as follows.

 

声明:下面的引用全部来自《Core J2EE Pattern》。

Announcement:the follow’s quote is come from <<Core J2EE Patterns>>.

Presentation Tier Patterns

Pattern Name Synopsis

Intercepting Filter:Facilitates preprocessing and post-processing of a request.

Front

Controller:Provides a centralized controller for managing the handling of a

request.

View Helper:Encapsulates logic that is not related to presentation formatting into

Helper components.

Composite View:Creates an aggregate View from atomic subcomponents.

Service To Worker:Combines a Dispatcher component with the FrontController and

View Helper Patterns.

Dispatcher View:Combines a Dispatcher component with the FrontController and

View Helper Patterns, deferring many activities to View processing.

Business Tier Patterns

Pattern Name Synopsis

Business Delegate:Decouples presentation and service tiers, and provides a facade

and proxy interface to the services.

Value Object: Facilitates data exchange between tiers by reducing network

chattiness.

Session Facade: Hides business object complexity; centralizes workflow handling.

Composite Entity:Represents a best practice for designing coarse-grained entity

beans by grouping parent-dependent objects into a single entity

bean.

Value Object Assembler: Assembles a composite value object from multiple data sources.

Value List Handler:Manages query execution, results caching, and results processing.

Service Locator: Encapsulates complexity of business service lookup and creation;

locates business service factories.

Integration Tier Patterns

Pattern Name Synopsis

Data Access Object: Abstracts data sources; provides transparent access to data.

Service Activator: Facilitates asynchronous processing for EJB components

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值