请求翻译一段英文资料 计算机方面

来源:百度知道 编辑:UC知道 时间:2024/05/22 18:11:24
Spring is a framework that consists of several modules. Its core module provides Inversion of Control services. Inversion of Control is often referred to as IOC; I will use this term for the remainder of the article. With IOC, the container injects an object's dependencies at runtime. This is in contrast to the common approach of writing code to look up dependent objects using the Java Naming and Directory Interface (JNDI) interface or an object implementing the Service Locator design pattern. When you allow an IOC container to inject dependencies for you, you simplify your application code. Spring specifies object dependencies in a configuration file; this is more flexible than putting this information in source code. Spring's other modules provide an array of other services. These services include transaction support and support classes for working with O-R mapping tools. Spring also provides its own Web framework as an alternative to Struts or even JSF.

JavaServer

春天是一个由一些组件所组成的结构. 它的核心组件提供控制服务的倒转. 控制的倒转时常被称为国际奥会;我将会使用这一个术语作为文章的剩余物. 藉由国际奥会,容器在运行时间注射物体的属国. 这是与写作的通常方式编码看在依赖的物体上面使用取名的爪哇相反,而且目录接口 (JNDI) 实现服务定位器设计的接口或一个物体模仿. 当你允许一个国际奥会容器为你注射属国的时候,你单一化你的申请密码. 春天叙述一个结构文件的物体属国;这比推杆原始码的这数据更有柔性. 春天的其他组件提供其他的服务排列. 这些服务为与 O- R 合作映射工具包括交易支持和支持班级. 春天也提供它自己的网络结构如高视阔步的替代品或平坦的 JSF.