With Bean Managed Persistence (BMP) entity beans, the developer writes the persistence code but the container determines when to execute that code.
使用 bean 管理的持久性(Bean Managed Persistence,BMP)实体 bean 时,开发人员编写持久性代码而容器确定何时执行该代码。
However, this choice can be limited by the deployment tool's limitation to map the bean instance's state to the database, in which case a bean-managed persistence (BMP) entity bean may be used.
但是,这个选择会受到部署工具局限性的限制—部署工具将bean实例的状态映射到数据库,这种情况下可能会使用bean管理的持久性(BMP)实体bean。
Bean-managed persistence leaves all the work to the EJB developer to figure out how to store and retrieve a specific object type.
Bean管理的持久性将所有的工作交给EJB开发人员,让他们确定如何存储和检索特定的对象类型。
应用推荐