aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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