Contents
Binary CompatibilityAPI UsersThe JNDI 1.2 API is upwards binary-compatible with JNDI 1.1 except for the incompatibilities listed below. This means that, except for the noted incompatibilities, class files of programs written to use the JNDI APIs in 1.1, and which were compiled against JNDI 1.1 will run correctly in 1.2.The JNDI 1.2 API is downward binary-compatible with JNDI 1.1 as long as the program does not use any APIs introduced in JNDI 1.2. This means that, except for the noted incompatibilities, class files of programs written to use the 1.1 subset, and compiled against JNDI 1.2 will run correctly in JNDI 1.1. Service ProvidersThe JNDI 1.2 SPI is not upwards binary-compatible with JNDI 1.1. This means that you cannot use a JNDI 1.1 service provider with the JNDI 1.2 packages.The JNDI 1.2 SPI is downward binary-compatible with JNDI 1.1 as long as the service provider does not use any 1.2-specific methods/classes. This means that you can use a JNDI 1.2 service provider with JNDI 1.1 as long as the service provider does not use the 1.2-specific features. See the incompatibilities listed below.
Source CompatibilityAPI UsersThe JNDI 1.2 API is upwards source-compatible with JNDI 1.1, except for the incompatibilities listed below. This means that, except for the noted incompatibilities, source files of programs written to use the JNDI APIs in 1.1 can be compiled and run in version 1.2.Downward source compatibility is not supported. If programs use new 1.2 APIs, they will neither compile nor run with JNDI 1.1. Service ProvidersThe JNDI 1.2 SPI is not upwards source-compatible with JNDI 1.1. This means that source files of service providers written to use the JNDI 1.1 cannot be compiled with version 1.2 without changes.Downward source compatibility is not supported.
IncompatibilitiesThe following is intended to be a complete list of all cases in which a program that works under in JNDI 1.1 would fail to work under 1.2. If you know of other incompatibilities, please notify us (at jndi@java.sun.com).API Incompatibilities
Service Provider IncompatibilitiesService providers are affected by the API incompatibilities noted above, and the following additional items:
| ||||||
|
| ||||||||||||