JBoss AS Question:
Download Questions PDF

What optimization could I use if the EJB container is the only point of write access to the database?

JBoss Interview Question
JBoss Interview Question

Answer:

You could activate the "Commit Option A" that is the container caches entity bean state between transactions. This option assumesthat the container has exclusive access to the persistentstore and therefore it doesn’t need to synchronizethe in-memory bean state from the persistent store at the beginning of each transaction.

Download JBoss Interview Questions And Answers PDF

Previous QuestionNext Question
What do you need to set-up a cluster with JBoss?Which component handles cluster communication in JBoss?