spring-framework-4.0.0.RELEASE Part I. Overview of Spring Framework

Part I. Overview of Spring Framework

The Spring Framework is a lightweight solution and a potential one-stop-shop for building your enterprise-ready applications. However, Spring is modular, allowing you to use only those parts that you need, without having to bring in the rest. You can use the IoC container, with Struts on top, but you can also use only the Hibernate integration code or the JDBC abstraction layer. The Spring Framework supports declarative transaction management, remote access to your logic through RMI or web services, and various options for persisting your data. It offers a full-featured MVC framework, and enables you to integrate AOP transparently into your software.

Spring框架是一个轻量级的解决方案,可以一站式创建您的企业级应用。Spring框架是模块化的,她允许你只使用你需要使用的模块,无需把不需要的模块功能带入到你的项目中,例如我们只是开发web并不是做portal门户那就不需要关于portal的jar包。你可以使用Ioc容器,管理bean的创建和注入关系,把Struts作为首先处理web请求的第一站,然后使用Hibernate去操作数据库当然也可以使用原始的JDBC去操作(ps:高效率操作指定数据库JDBC更轻松)。Spring支持声明式的事务管理,也可调用RMI和WS,以及各种方式去持久化你的数据。她提供了MVC可以替代Struts,也提供了AOP让你优雅的处理日志记录和权限判断管理等。

 

Spring is designed to be non-intrusive, meaning that your domain logic code generally has no dependencies on the framework itself. In your integration layer (such as the data access layer), some dependencies on the data access technology and the Spring libraries will exist. However, it should be easy to isolate these dependencies from the rest of your code base.

Spring被设计成非侵入式的框架,这意味着你的业务逻辑代码可以完全独立而不依赖Spring的任何模块,保证业务逻辑干净清爽且易于测试。只是在有的地方例如数据访问层中,基于spring的数据访问技术会使spring的jar包存在,然而这部分spring的代码仍然和你自己的代码有着很明显的隔离,还是很易读的。

This document is a reference guide to Spring Framework features. If you have any requests, comments, or questions on this document, please post them on the user mailing list or on the support forums at http://forum.spring.io/.

本文档介绍了Spring的功能特性,如果你有任何疑问需求请找http://forum.spring.io/.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值