File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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);
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:
subject: Basic JNDI question
It's not a secret anymore!