May I apply CMP entity beans to process large amounts of data (like 20 million entities)? How is the performance of EJB CMP entity beans in this case?
We appreciate EJB CMP that beans work fine for large database tables. We have several properties on the finder methods in order to optimize the behavior. They need to be set properly. For example “lazy loading” – which means to load the entities affected by a finder method on demand, instead of reading the result of the query in the finder method implementation. We expect that only the finder methods are affected by the large number of entities.