In a real flow, the flow would use the contents of the entity to perform additional logic or enforce specific policies.
在实际的流中,流应该使用实体的内容来执行其他逻辑或执行特定的策略。
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.
将服务定义同业务逻辑(控制器)以及数据(实体)访问分离,可确保实体中不会透露任何业务逻辑。
With BMP entity beans, developers must write the persistence logic but the container determines when to call the methods defined by the developer.
使用BMP实体bean时,开发人员必须编写持久性逻辑,而容器则确定何时调用由开发人员定义的方法。
应用推荐