This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes cache and pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "cache and pool" Watch "cache and pool" New topic
Author

cache and pool

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
what is the difference betweeen caching and instance pooling ?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Caching = Storing data locally (in memory) to prevent recurring database queries when the data changes infrequently in the database.
Instance pooling = Re-using object instances to prevent the overhead of creating new objects for each incoming request.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cache and pool
 
Similar Threads
Real World Example of Singleton Pattern
EJB Bean Pooling
pool & cache
explain Object pooling Vs cache in EJB? which beans will use Object pooling/Cache pooling
Number of Entity Beans