Hello All, Once an entity ejb has been created, it corresponds to a record in the database and an entity EJB in memory. If the entity bean is not used for awhile, it may be passivated (cached to disc). My question is:
Once it is created, will it always either be in memory or cached to disc?
Also, when designing an EJB entity, is it useful for performance to separate changing data from static data? I am thinking that since the EJB is in memory, the database does not need to be accessed for the static data...only the changing data needs to be accessed via database.
Is this correct?
Thanks in advance.
Is that a spider in your hair? Here, threaten it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop