• Post Reply Bookmark Topic Watch Topic
  • New Topic

read only entity beans..  RSS feed

 
trupti nigam
Ranch Hand
Posts: 640
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
what are read only entity beans??
need an urgent reply..
Thanks a lot
Trupti
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read-only entity beans are a vendor optimization. The vendor guarantees that ejbStore will not be called on any entity bean marked as read-only. Furthermore, most have a configurable time-out setting for the cached data so that every access does not require a database call either.
Basically the whole point of read-only entity beans is reduce the number of times that the container needs to hit the database for information. It is useful for static (or very rarely changed) data.
There is also a related strategy called read-mostly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!