将服务定义同业务逻辑(控制器)以及数据(实体)访问分离,可确保实体中不会透露任何业务逻辑。
Decoupling the service definition from the business logic (controller) and from access to the data (entity) ensures that no business logic manifests itself in the entities.
在此基础上,Spring2.5又加入了两个新的注解 —— @Service和@Controller来完成为通常的三层架构(数据访问对象、服务、web控制器)角色委任。
Spring 2.5 adds two new annotations - @Service and @Controller - to complete the role designations for a common three-tier architecture (data access objects, services, and web controllers).
控制器将访问其他服务或通过其创建、读取、更新和删除 (CRUD)操作访问后端实体,从而实现服务业务逻辑。
The controller implements the service business logic by accessing other services or accessing backend entities via their create, read, update and delete (CRUD) operations
随后由服务控制器实现Catalog服务,此控制器将访问遗留Catalog应用程序,以提供Catalog服务所需的Catalog数据。
The catalog service was then implemented by a service controller, and this controller accessed the legacy catalog application to provision the catalog data required by the catalog service.
该原型系统实现了安全构件的关键部分:认证服务器、消息安全代理和访问控制器。
The prototype system realizes the key parts of the secure component: authentication center, message secure proxy and access controler.
该原型系统实现了安全构件的关键部分:认证服务器、消息安全代理和访问控制器。
The prototype system realizes the key parts of the secure component: authentication center, message secure proxy and access controler.
应用推荐