05 JNDI Slides
05 JNDI Slides
Understanding JNDI
1. Introduction to JNDI
– What Are Directory and Naming Services and How Do
They Work
– The High-level Architecture of JNDI
– Viewing JNDI Tree Via the Administration Console and
the Command-Line
2. Startup and Shutdown Classes
Written by
Application Code Developer
JNDI API
Naming Manager JNDI API
JNDI SPI
WLS LDAP File Sys DNS
Other Purchased
Driver Driver Driver Driver
Objects
method for mapping identifiers to
entities or objects: ID2
ID3
ID4
f Naming Service vocabulary:
Context “B”
is bound to
A B Initial Context
O1
Object “O1”
is bound to
Initial C
O2 O3 O3 O4
Context
Object “O2” Object “O3”
is bound to is bound to both
Context “A” Context “A” and “B”
Understanding JNDI-7 © 2006 BEA Systems, Inc. 243
Contexts and Subcontexts
4 5
10
0101
1110
1. Introduction to JNDI
2. Startup and Shutdown Classes
– What Are Startup and Shutdown Classes and How Do
They Work
– Deploying a Startup or Shutdown Class Using the
Administration Console
3
4
Lab Exercise