Skip navigation.
Downloads | Product Documentation | Support

Programming WebLogic JNDI

# Introduction and Roadmap

The following sections describe the contents and organization of this guide—Programming WebLogic JNDI

- Document Scope and Audience
- Guide to this Document
- Related Documentation
- Examples for the Web Application Developer
- New and Changed Features

# Document Scope and Audience

This document explains how to set up WebLogic JNDI. It is intended for programmers who are developing WebLogic Server® applications and want to use the JNDI feature.

This document is written for application developers who want to design, develop, configure, and manage applications using the Java 2 Platform, Enterprise Edition (J2EE) from Sun Microsystems and want to use the JNDI API to provide a unified interface to multiple naming and directory services in their enterprise. It is assumed that readers know JNDI and the Java programming language.

# Guide to this Document

- This chapter, Introduction and Roadmap, describes the scope and organization of this guide.
- Understanding WebLogic JNDI, provides an overview of the Java Naming and Directory Interface (JNDI) implementation in WebLogic Server.
- WebLogic JNDI, describes programming with WebLogic JNDI.

# Related Documentation

For additional information on JNDI, see the following documents:

- JNDI Subsytem Messages provides a list of JNDI subsystem messages.
- Using WebLogic Server Clusters provides information on the cluster-wide JNDI tree.
- Administration Console Online Help contains sections that describe how to add or modify security roles and policies on a JNDI Binding node, Root Content node, or Context node.

# Examples for the Web Application Developer

In addition to this document, BEA Systems provides examples for software developers within the context of the Avitek Medical Records Application (MedRec) sample application, as well as JNDI code examples.

## Avitek Medical Records Application (MedRec)

MedRec is an end-to-end sample J2EE application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.

MedRec demonstrates WebLogic Server and J2EE features, and highlights BEA-recommended best practices. MedRec is included in the WebLogic Server distribution, and can be accessed from the Start menu on Windows machines. For Linux and other platforms, you can start MedRec from the `WL_HOME\samples\domains\medrec` directory, where `WL_HOME` is the top-level installation directory for WebLogic Platform.

## JNDI Examples in the WebLogic Server Distribution

WebLogic Server optionally installs API code examples in `WL_HOME\samples\server\examples\src\examples`, where `WL_HOME` is the top-level directory of your WebLogic Server installation. You can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server Start menu.

# New and Changed Features

For a description of new and changed features in this release, see What's New in WebLogic Server 9.1. WebLogic Server changed substantially in version 9.0, and these changes apply to later releases as well. For a detailed description of new functionality and features in WebLogic Server 9.0, see What's New in WebLogic Server 9.0.