File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3879
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
 
Similar Threads
Coffee Cream question
About updating a entity bean within a transaction
Caching performance comparison
Data Caching in EJB application
Pooling vs Instance Caches