| 1 | = Use of JNDI in GeoNetwork = |
| 2 | |
| 3 | The only use of JNDI is in the Z39.50 Client. |
| 4 | The JZKit library expects to find its list |
| 5 | of collections in JNDI; the `initZ3950()` method |
| 6 | of the class |
| 7 | `org.fao.geonet.kernel.search.SearchManager` |
| 8 | puts it there. |
| 9 | |
| 10 | Note: the file `src/jndi.properties` in |
| 11 | the GeoNetwork distribution is ''not'' used. |
| 12 | |
| 13 | JNDI services are provided by the library |
| 14 | `tyrex-1.0.jar`. It is this JAR file |
| 15 | that contains the `jndi.properties` file |
| 16 | that is currently being used. |
| 17 | |
| 18 | If in future it is desired to make wider |
| 19 | use of JNDI (i.e., by using the implementation |
| 20 | provided by the Servlet/J2EE container), |
| 21 | the file `tyrex-1.0.jar` should be removed. |