Discussions

EJB programming & troubleshooting: Entity beans and Caching services

  1. Entity beans and Caching services (1 messages)

    If I leverage EJBs, esp entity beans. What type of caching servies do I get by default? Thanks.
  2. Entity beans and Caching services[ Go to top ]

    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).