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 BEA/Weblogic and the fly likes How does CachingHome.invalidateAll() works ?? 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 » Products » BEA/Weblogic
Bookmark "How does CachingHome.invalidateAll() works ??" Watch "How does CachingHome.invalidateAll() works ??" New topic
Author

How does CachingHome.invalidateAll() works ??

Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
Hey All,

I have the following code in my application running under weblogic 8.1

import javax.naming.InitialContext;
import weblogic.ejb.CachingHome;
Context initial = new InitialContext();
Object o = initial.lookup("CustomerEJB_CustomerHome");
CustomerHome customerHome = (CustomerHome)o;
CachingHome customerCaching = (CachingHome)customerHome; customerCaching.invalidateAll();

Can anybody explain if any factory methods in entity bean are getting called when invalidateAll() gets calls ??

If not, how is the implementation done to invalidate the entity beans in cache. I do understand weblogic takes care of it, even across multiple servers, but just curious about the way its done ..

Any help will be appreciated
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does CachingHome.invalidateAll() works ??
 
Similar Threads
Weblogic-QL -- Resultset
CACHE INVALIDATION IN WEBLOGIC ??
Read-only inavlidation
clearing the ejb cache in Websphere 7 ??????
Home look up