Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.75 KB

2spring框架简介.md

File metadata and controls

21 lines (14 loc) · 1.75 KB

The Spring Framework is a Java platform that provides comprehensive infrastructure support for developing Java applications. Spring handles the infrastructure so you can focus on your application.

Spring Framework是一个Java平台框架,它为开发Java应用程序的全面的基础架构支持。 Spring处理基础架构,以便你可以专注于应用程序。

Spring enables you to build applications from "plain old Java objects" (POJOs) and to apply enterprise services non-invasively to POJOs. This capability applies to the Java SE programming model and to full and partial Java EE.

Spring使你能够从“普通旧Java对象”(POJO)构建应用程序,并将企业服务非侵入性地应用于POJO。 此功能适用于Java SE编程模型和完整和部分Java EE

Examples of how you, as an application developer, can benefit from the Spring platform:

  • Make a Java method execute in a database transaction without having to deal with transaction APIs.
  • Make a local Java method a remote procedure without having to deal with remote APIs.
  • Make a local Java method a management operation without having to deal with JMX APIs.
  • Make a local Java method a message handler without having to deal with JMS APIs.

作为应用程序开发人员,你可以如何从Spring平台中受益的示例:

  • 在数据库事务中执行Java方法,而不必处理事务API
  • 使本地Java方法成为远程过程,而不必处理远程API(意思就是无须管相关的远程调用api,Spring已经封装好了,你自己只需要专注自己的逻辑即可,下同,不再解释)
  • 使本地Java方法成为管理操作,而不必处理JMX API
  • 使本地Java方法成为消息处理程序,而不必处理JMS API