The moose likes EJB and other Java EE Technologies and the fly likes Caching results in Entity Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Caching results in Entity Bean" Watch "Caching results in Entity Bean" New topic

Caching results in Entity Bean

John Fairbairn
Ranch Hand

Joined: May 30, 2002
Posts: 55
I have a read-only entity bean and I would like to read the data only once and keep the data cached permanently while the server is running. Is caching an app-server specific option - not available to all app servers? I'm using JBoss.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
This is called Option A caching in the EJB spec. Go to this manual page and search down for Option A.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I agree. Here's the link: http://aspose.com/file-tools
subject: Caching results in Entity Bean
Similar Threads
Pooling vs Instance Caches
Data Caching in EJB application
Caching performance comparison
About updating a entity bean within a transaction
Coffee Cream question