Spring框架高级编程

Professional Java Development with the Spring Framework
Consistent Abstraction

If we return to the core Spring mission of providing declarative service to POJOs, we see that it's not sufficient to have an AOP framework. From a middleware perspective, an AOP framework is a way of delivering services; it's important to have services to deliver — for example, to back a transaction management aspect. And of course not all services can be delivered declaratively; for example, there's no way to avoid working with an API for data access.

Important 

The third side of the Spring triangle, after IoC and AOP, is a consistent service abstraction

 

Spring框架高级编程,翻译成为:

 

一致性抽象

如果回到给POJO提供声明式服务的核心Spring任务这一点,我们所见到的并不足以拥有AOP框架。从中间件观点来看,AOP框架就是交付服务的方法;例如,交付服务来支持事务管理是很重要的。当然,并不是所有的服务都以声明式的方法进行交付;例如,在数据访问时就必须使用API.

除了IOC和AOP之外,Spring鼎足而立的第三足就是一致性的服务抽象。

 

BTW:完全不知所云,离题万里啊

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值