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 any web framework 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 Framework是一个轻量级解决方案,也是构建企业级应用程序的潜在一站式服务。但是,Spring是模块化的,允许您仅使用所需的部件,而无需使用其余的部件。您可以将他的IoC容器,和任意的上层Web框架搭配使用,但也可以仅 集成 Hibernate或使用JDBC抽象层。Spring框架支持声明式事务管理,通过RMI或Web服务远程访问,并可以使用多种方式持久化数据。它提供了一个全功能的MVC框架,可以透明的将将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库的依赖。但是,应该很容易将这些依赖从库分隔离开来。
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. Questions on the Framework itself should be asked on StackOverflow (see https://spring.io/questions).
本文档是Spring Framework功能的参考指南。如果您对本文档有任何要求,意见或问题,可以发送邮件给我们。框架本省的问题可以在StackOverflow上询问(请参阅https://spring.io/questions)。
This reference guide provides detailed information about the Spring Framework. It provides comprehensive documentation for all features, as well as some background about the underlying concepts (such as “Dependency Injection”) that Spring has embraced.
本参考指南提供了Spring Framework详细的信息,提供了所有功能全面的文档,以及一些Spring 概念的背景介绍
If you are just getting started with Spring, you may want to begin using the Spring Framework by creating a Spring Boot based application. Spring Boot provides a quick (and opinionated) way to create a production-ready Spring based application. It is based on the Spring Framework, favors convention over configuration, and is designed to get you up and running as quickly as possible.
如果你是哥新手 并且刚好开始接触Spring ,最好从使用Spring Boot创建一个应用来开始了解Spring Framework ,Spring Boot 提供了一个quick stark 来创建 一个基于Spring 的应用,基于Spring ,约定优于配置,并且旨在快速开发运行。
You can use start.spring.io to generate a basic project or follow one of the “Getting Started” guides like the Getting Started Building a RESTful Web Service one. As well as being easier to digest, these guides are very task focused, and most of them are based on Spring Boot. They also cover other projects from the Spring portfolio that you might want to consider when solving a particular problem.
可以使用tart.spring.io来生成一个基本项目,或者按照入门指引中的一个,如“创建一个 restful web service”。除了容易理解外,这些指南都以某一个任务为驱动,并且大部分都是基于Spring Boot的。同时涵盖了Spring 解决方案中你可能用到的其他项目