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 Web Technology 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 "Web Technology" Watch "Web Technology" New topic

Web Technology

tejbir singh

Joined: Jul 24, 2003
Posts: 1
Can any one tell me where are the name values pairs after they are bind using JNDI.
Please see the below code.
import java.util.*;
import java.lang.*;
import javax.naming.*;
public class Test1
public static void main(String arg[]) throws IOException
Hashtable env = new Hashtable();
env.put(Context.PROVIDER_URL, "");
Context ctx = new InitialContext(env);
String s = new String("23472");
catch(NamingException w)
Can any one tell me IN WHICH FILE can i see aman=23472.
Thanks :roll:
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
I am sorry but this is not the correct forum to ask EJB related question.
Please post you question here. and then delete the this post from here.

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

I guess it will be stored in memory.

Jason Menard

Joined: Nov 09, 2000
Posts: 6450
Moved to the EJB and Other J2EE Technologies forum.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by tejbir singh:
Can any one tell me IN WHICH FILE can i see aman=23472.

What makes you think they are stored on disk? It is entirely up to the Application Server as to how JNDI entries are managed and I would venture that most store this stuff in-memory.
Why do feel that you need to know how the Application Server implements JNDI? The implementation of JNDI does not and should not have any effect on writing code that uses JNDI.
Since you are using JRun, if you really need to know this information then I would suggest you contact Macromedia for more details (we don't have a JRun Forum nor do I know anyone that seriously uses it).
I agree. Here's the link:
subject: Web Technology
It's not a secret anymore!