File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 for other WebSphere information.
I agree. Here's the link:
subject: Caching results in Entity Bean
It's not a secret anymore!