170923_Spring英文文档阅读(十四)_2.3 Usage scenarios_Dependency Management and Naming Conventions(一)
2017-09-23 11:51
369 查看
Dependency Management and Naming Conventions
翻译:依赖管理和命名规范Dependency management and dependency injection are different things.
翻译:依赖管理和依赖注入是不同的事物。
什么是依赖管理?
什么是依赖注入?
依赖管理和依赖注入的不同点?
To get those nice features of Spring into your application (like dependency injection) you need to assemble all the libraries needed (jar files) and get them onto your classpath at runtime, and possibly at compile time.
“assemble”的意思?
“onto”和“on”的区别?
“and possibly at compile time”具体怎么翻译?
并且可能在编译时
翻译:为了将Spring的这些不错的功能引入到应用程序(如依赖注入)中,您需要组装所有需要的库(jar文件),并在运行时,以及可能在编译时将它们存入您的类路径。
These dependencies are not virtual components that are injected, but physical resources in a file system (typically).
翻译:这些依赖关系不是注入的虚拟组件,而是文件系统中的物理资源(通常为)。
The process of dependency management involves locating those resources, storing them and adding them to classpaths.
依赖管理进程包括定位这些资源,储存它们并将其添加至类路径之中。
Dependencies can be direct (e.g. my application depends on Spring at runtime), or indirect (e.g. my application depends on commons-dbcp which depends on commons-pool).
什么是commons-dbcp(DataBase Connection Pool,数据库连接池)?
由Apache提供的主流数据库连接池之一(DBCP、c3p0、proxool),单独使用DBCP需要使用commons-dbpc.jar、commons-collections.jar、commons-pool.jar三个包.
翻译:依赖关系可以是直接的(例如:我的应用程序在运行时依赖于Spring),或者是间接的(例如:我的应用程序依赖于依赖commons-pool的commons-dbcp)。
The indirect dependencies are also known as “transitive” and it is those dependencies that are hardest to identify and manage.
翻译:间接依赖关系也被称为“传递性”,它们是最难识别和管理的依赖关系。
相关文章推荐
- 170921_Spring英文文档阅读(十三)_2.3 Usage scenarios(五)
- 170916_Spring英文文档阅读(十)_2.3 Usage scenarios(二)
- 170919_Spring英文文档阅读(十一)_2.3 Usage scenarios(三)
- 170920_Spring英文文档阅读(十二)_2.3 Usage scenarios(四)
- 170915_Spring英文文档阅读(九)_2.3 Usage scenarios(一)
- 170907_Spring英文文档阅读(三)_2.2 Data Access/Integration_spring-oxm
- 170909_Spring英文文档阅读(五)_2.2 Web_spring-web
- 170912_Spring英文文档阅读(六)_2.2 Web_spring-webmvc
- 170914_Spring英文文档阅读(八)_2.2 Test_spring-test
- Rhyme/Spring5.0.2.RELEASE官方英文文档学习笔记(1) Introduction to the Spring IoC container and beans
- 170906_Spring英文文档阅读(二)_2.2 Data Access/Integration_spring-orm
- 170908_Spring英文文档阅读(四)_2.2 Data Access/Integration_ spring-jms
- 170913_Spring英文文档阅读(七)_2.2 Web_spring-webmvc-portlet
- Spring 4 官方文档学习(十四)WebSocket支持
- Tomcat 5.5.23 文档阅读Tips 12 - APR and Tomcat
- 本体开发的有关问题和命名规范——some Problems and Naming Conventions of Ontology development
- 阅读英文文档遇到的生词
- Spring Framework Reference,Documentation,spring英文文档.pdf 官方文档
- Spring 4.3.11.RELEASE文档阅读(二):Core Technologies_IOC
- Spring Boot文档阅读