Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123