This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic