aspose 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
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...
 
Don't get me started about those stupid light bulbs.
 
subject: Basic JNDI question