File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic JNDI question

 
Alok Pota
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are objects bound to the JNDI context stored in the memory or this disk?
I have something like this..
HashMap map = new HashMap(20);
context.bind("map",map);
The HashMap map grows as and when required. I am curious if this map is stored in the memory or to the disk?
--If the above is stored in the disk, then in a multi user (~1000 users) web application would it hurt to store user's httpsession data in a JNDI context. That way I can avoid hogging the Java heap per user.
Pls comment...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic