2010년 8월 12일 목요일

2.1.2. JNDI Configuration Services

2.1.2. JNDI Configuration Services

Given all this, the configuration services provided by an application server are a critical
element in deploying J2EE applications. Various runtime assets required by your
components, such as database connections, JMS message queues, JCA resource adapters,
or even other J2EE components, will be provided by the application server at runtime.
These assets will be located at runtime using JNDI lookups, so it's critical that all of the
assets referenced in the component deployment descriptors are configured properly in the
JNDI namespace of the application server.

More complete details on JNDI and its use with general directory services can be found in
Chapter 9. Here, we'll discuss the naming conventions typically used for different resources
and components published in an application server's JNDI service and how names used
in module deployment descriptors are resolved against the real names of these resources
and components.