几天前,阅读了《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