Description: 创建初始上下文环境
Context ctx=new InitialContext()
JNDI对象绑定
String s=“Test String”
ctx.bind(“Chapter2”,s)
JNDI对象的重新绑定
ctx.rebind(“Chapter2”,s)
To Search:
File list (Check if you may need any files):
JNDIProject
...........\.classpath
...........\.project
...........\bin
...........\...\ch2
...........\...\...\JNDIDemo.class
...........\src
...........\...\ch2
...........\...\...\JNDIDemo.java