*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
Author

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.
Thanks.
John
Kyle Brown
author
Ranch Hand

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


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