File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use Of InitialContext for Caching

Prakash Dwivedi
Ranch Hand
Posts: 452
  • 0
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic