JavaEE 核心模式 及Spring实现(一)
本模式的抽象层次是介于设计模式和架构模式之间,
层 |
模式名称 |
|
Core J2EE |
Spring |
表现层 Presentation Tier |
拦截过滤器 |
Intercepting filter |
* |
* |
|
前端控制器 |
Front Controller |
* |
* |
|
Context对象 |
Context Object |
* |
* |
|
应用控制器 |
Application Controller |
* |
* |
|
视图助手 |
View Helper |
* |
* |
|
复合视图 |
Composite View |
* |
* |
|
服务到工作者 |
Service to Worker |
* |
* |
|
分配器视图 |
Dispatcher View |
* |
* |
业务层 Business Tier |
业务代表 |
Business Delegate |
* |
* |
|
服务定位器 |
Service Locator |
* |
* |
|
会话门面 |
Session Facade |
* |
* |
|
应用服务 |
Application Service |
* |
* |
|
业务对象 |
|
* |
|
|
复合实体 |
|
* |
|
|
传输对象 |
|
* |
|
|
传输对象组装器 |
|
* |
|
|
值列表处理器 |
|
* |
|
|
业务接口 |
Business Interface |
|
* |
集成层 Integration Tier |
数据访问对象 |
Data Access Object |
* |
* |
|
服务激活器 |
Service Activator |
* |
* |
|
业务领域存储 |
Business Domain Storge |
* |
|
|
Web Service 中转 |
Web Service Broker |
* |
* |
|
过程访问对象 |
Procedure Access Object |
|
* |
横向 Crosscutting |
|
Authentication and Authorization Enforcer |
|
* |
|
|
Audit Interceptor |
|
* |
|
|
Domain Service Owner Transaction |
|
* |
|
|
|
|
|