File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Basic JNDI question 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 "Basic JNDI question" Watch "Basic JNDI question" New topic
Author

Basic JNDI question

Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Basic JNDI question