• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use Of InitialContext for Caching

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic