封装上下文对象提供了一个将服务执行上下文和框架要素封装起来的方法。
Encapsulated context object provided a way of encapsulating the execution context of service and framework elements.
框架通过两种方式将应用服务与运行中的POJO关联起来:拦截POJO的执行上下文或将服务对象注入POJO中。
The framework "wires" application services to the POJOs by intercepting the execution context or injecting service objects to the POJO at runtime.
解决方案就是使用一个 ORM 框架,比如 Hibernate,它在对象与数据库表记录之间的来回映射中执行大量工作。
The solution is to use an ORM framework such as Hibernate, which performs much of the work in mapping objects to records within database tables and back again.
应用推荐