##### General Information

- Overview
- Features
- Specification
- Getting Started
- Howto Build Turbine
- Changes

##### Documentation

- Services
  - Assembler Broker Service
  - Avalon Component Service
  - Crypto Service
  - Cache Service
  - Factory Service
  - Intake Service
  - JSON-RPC Service
  - JSP Service
  - Localization Service
  - MimeType Service
  - Naming Service
  - Parser Service
  - Pool Service
  - Pull Service
  - RunData Service
  - Scheduler Service
  - Security Service
  - Servlet Service
  - Session Service
  - Template Service
  - UI Service
  - Unique ID Service
  - Upload Service
  - Velocity Service
  - XML-RPC Service
  - XSLT Service
- Howtos
- Wiki
- JavaDocs

##### Development

- Proposals
- How To Help
- Todo

##### Project Documentation

- Project Information
- Project Reports

##### Apache

- Apache Website
- License
- How the ASF works
- Sponsorship
- Thanks
- Security

## Naming Service

The Naming Service provides access to JNDI contexts. Please note that if you are using Tomcat as your servlet engine and you get errors about sealing violations, you may need to read this document.

## Configuration

    # -------------------------------------------------------------------
    #
    #  S E R V I C E S
    #
    # -------------------------------------------------------------------
    # Classes for Turbine Services should be defined here.
    # Format: services.[name].classname=[implementing class]
    #
    # To specify properties of a service use the following syntax:
    # service.[name].[property]=[value]

    services.NamingService.classname=org.apache.turbine.services.naming.TurbineNamingService
    .
    .
    .

## Usage

    try
    {
        // Set up the naming provider. This may not always be necessary,
        // depending on how your Java system is configured.
        System.setProperty("java.naming.factory.initial",
          "org.jnp.interfaces.NamingContextFactory");
        System.setProperty("java.naming.provider.url",
          "localhost:1099");
        // Get a naming context
        InitialContext jndiContext = new InitialContext();

        // Get a reference to the Interest Bean
        Object ref = jndiContext.lookup("interest/Interest");

        // Get a reference from this to the Bean's Home interface
        InterestHome home = (InterestHome)
            PortableRemoteObject.narrow (ref, InterestHome.class);

        // Create an Interest object from the Home interface
        m_interest = home.create();
    }
    catch(Exception e)
    {
        out.println("<LI>Context failed: " + e);
    }