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