This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
We have java application recently migrated from weblogic to websphere. We have a program to clear EJB cache in weblogic using weblogic.ejb.CachingHome. We want to do the same in Websphere. i am looking for some class file to clear the ejb cache.....
Code Snippet from current weblogic program.
Lu is array list of EJBs Caching is instance of weblogic.ejb.CachingHome.
for ( int x = 0; x < lu.size(); x++ )
o = initial.lookup( (String) lu.get( x ) );
ejb = (EJBHome) o;
caching = (CachingHome) ejb;
}// end for x
i Tried with the below method
env = new Hashtable();
ctx = new InitialContext(env);