*
The moose likes EJB and other Java EE Technologies and the fly likes Use Of InitialContext for Caching 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 "Use Of InitialContext for Caching" Watch "Use Of InitialContext for Caching" New topic
Author

Use Of InitialContext for Caching

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello Friends,

I am planning to implement a sort of caching in my application. To start with i want to cache all the data of Master Tables (Content of these tables doesn't usually changes). I was planning was to retrieve all the data and store in a place where all the session beans can acess it. Will it be right to store it in InitialContext using bind() method? Or is there any better location to store such information. Unlike ServletConext, SessionContext doesn't store user defined objects.

Thanks


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use Of InitialContext for Caching
 
Similar Threads
Weblogic-QL -- Resultset
How to generate queries with random joins
How to implement Authentication/Authorization, Caching, Auditing in a JEE Web Application
maintaining history in mobile
when object to be distributed?