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开发人员,让他们确定如何存储和检索特定的对象类型。
The J2EE environment provides two persistence schemes for entity beans: bean-managed and container-managed.
J2EE环境为实体bean提供了两种持久性模式:bean 管理和容器管理。
With container-managed persistence, when an entity bean is created, its information is saved in the database.
在创建一个实体bean时,容器管理的持久性会将其信息保存在数据库中。
With container-managed persistence, when an entity bean is created, its information is saved in the database.
在创建一个实体bean时,容器管理的持久性会将其信息保存在数据库中。
应用推荐