I copy and paste the following case. Can any one put more? One question: if the database is not RDBMS, can we use container-Managed Persistence Entity Beans? Despite the many advantages of container-managed persistence, there are situations in which it is more appropriate to develop entity beans using the bean-managed persistence approach. These include the following: Use bean-managed persistence when you need exact control over the database schema or need to customize code to match a specific legacy database schema. Use bean-managed persistence when it is important that the application be very finely tuned against the database that is in use. Use bean-managed persistence when portability is not an issue. Even in this case, however, it is recommended that data access objects (DAOs) be used. DAOs better enable the bean to be adapted to a different database schema or to evolve into an entity bean with container-managed persistence at a later date. See Section 5.7.5 on page 160. Use bean-managed persistence when the query needs of the application exceed the current capabilities of EJB QL. While EJB QL will continue to develop, it is not yet able to express a number of queries that are expressible in SQL. Use bean-managed persistence when your persistent store is not a database system or is a legacy database system that is not likely to be supported for container-managed persistence.
Hi, Forrest, Actually, it depends on the EJB container, what persistance storages are supported. I don't know containers that support something other than RDBMS. To add to your list, I would mention using BMP over CMP when you need a support for several databases in the app. CMP can work only with one at a time.
Best Regards,<br />Serge
posted 15 years ago
Actually, it depends on the EJB container, what persistance storages are supported. I don't know containers that support something other than RDBMS.
Thank you for your reply. This is what i concerned. I don't know containers that support something other than RDBMS either. I guess it does not support non-RDBMS. The database the EJB container supports must be RDBMS or Object DBMS. but i am not sure. Please help me.
We don't have time to be charming! Quick, read this tiny ad: