EJB programming & troubleshooting: Entity beans and Caching services
If I leverage EJBs, esp entity beans. What type of caching servies do I get by default? Thanks.
It depends on your EJB server. Most EJB servers support a variety of caching strategies, depending upon the degree of control you have over the database. Common strategies include:
* Cached forever (if your EJB application is the only application interacting with the database)
* Cached for a single transaction (if other applications manipulate database data).
* No caching (for messed up situation).