my dog learned polymorphism
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 Building Microservices this week in the Design forum!
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...
Have you checked out Aspose?
subject: Basic JNDI question
It's not a secret anymore!