A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How does CachingHome.invalidateAll() works ??
Joined: Oct 14, 2004
Aug 23, 2005 09:06:00
I have the following code in my application running under weblogic 8.1
Context initial = new
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
It is sorta covered in the
JavaRanch Style Guide
subject: How does CachingHome.invalidateAll() works ??
clearing the ejb cache in Websphere 7 ??????
Home look up
Weblogic-QL -- Resultset
CACHE INVALIDATION IN WEBLOGIC ??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014