posted 21 years ago
Well, I don't have any good examples (might tell you something about the probability of being able to outperform modern CMP engines...) but generally speaking, the application developer usually knows something about the entity that she cannot describe in the deployment descriptor. For example, "this entity's state can only change in the database between 1 AM and 2 AM so skip ejbLoads outside that time period" cannot be expressed to the container's CMP engine.