FS3-AQ Architecture
来源:互联网 发布:天下数据 编辑:程序博客网 时间:2024/04/29 17:37
1、About MerchantSpace Commerce 3
Q:What's MerchantSpace Commerce?
A:Good Architecture .
Architecture Explain:
JSP <- Struts <->TO<->BA<->TO<->BO<->TO<->DAO->TO<->Hibernate<->MySQL
View Controller Local Applications
Business Actions
Business actions are Plain Old java Objects(POJOs) which act as “facades“ by orchestraing
business processes such as “Submit Order“ which involve other busniess actions as well as
more fine-grained business objects(aka.domain.objects).All Java objects in MerchantSpace
are POJOs as we have deliberately chosen our architecture in order to avoid the use of Enterprise
Java Beans (EJBs) which have proven to be cumbersome and with excessively high overhead
for most applications which don't require distribute computing (remote method calls).
Business Objects
Business objects are fine grained POJOs which each represent a single domain model object such
as Order.Customer,Address,etc.Business objects may be composed of other business objects in
domain model,but are never composed of higher level business actions.Any business logic which is
isolated to a singel business object is encapsulated in that object resulting in low coupling.
Dao Access Objects
Data access object are POJOs used to abstract data access from the business logic tier.this allows
developers at a later date to replace any piece of our persistence layer(currently Hibernate+a relational database)
with any other persistence technology such as an LDAP reponsitory,a web service or an object database.
Transfer Objects
Transfer objects are POJOs used to carry data to and from diferent application tiers.Transfer objects are
very lightweight objects which only contains properties and accessors.Moving data through the application by
using transfer objects enforces consistency and makes application code much more readable than passing a large
number of arbitray method parameters.
2、About DTO
Q:How to use DTO?Where dose is live?
A:
- DTOs along with the APIs for each layer help to define the 'Contractual Agreement' between architectural layers
- DTOs may contain other DTOs or collections of DTOs.
- DTOs should only contain mutators,accessors and constructors
- DTOs should Not contain any logic
- There are two main types of DTOs
- FS3-AQ Architecture
- Oracle AQ
- Oracle AQ高级队列
- What is the AQ?
- 是QA还是AQ?
- Oracle AQ 使用
- Oracle AQ 使用
- 执行AQ管理任务
- 逆商AQ(AdversityQuotient)
- AQ中小知识
- iquery -t -aq
- X264 AQ MODE详解
- Architecture
- ARCHITECTURE
- 提升自己的AQ指数
- 3Q中的AQ是什么意思?
- 我的AQ智商测试
- aq-Android版本检测升级
- A simply server code with c.
- A simply client code for that server.
- 阅读代码的难度
- CamShift算法,OpenCV实现2-Mean Shift算法
- IIS 中的三个保护级别
- FS3-AQ Architecture
- 罗马,罗马!
- 拖动矩形框,显示出框中的内容
- 合并多个XML文件的简单方法 —— 外部实体引用
- 走进Boost
- 修改Linux主机名
- 上传下载全攻略jspSmartUpload
- 数字表达,5201314,我爱你一生一世
- 找回忘记了的root口令(lilo/grub)