Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: Accessing the Naming Context
- Next: Mapping References

# Configuring Resources

The Application Server exposes the following special resources in the naming environment. Full administration details are provided in the following sections:

- External JNDI Resources

- Custom Resources

## External JNDI Resources

An external JNDI resource defines custom JNDI contexts and implements the `javax.naming.spi.InitialContextFactory` interface. There is no specific JNDI parent context for external JNDI resources, except for the standard `java:comp/env/`.

Create an external JNDI resource in one of these ways:

- To create an external JNDI resource using the Administration Console, open the Resources component, open the JNDI component, and select External Resources. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide.

- To create an external JNDI resource, use the `asadmin create-jndi-resource` command. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual.

## Custom Resources

A custom resource specifies a custom server-wide resource object factory that implements the `javax.naming.spi.ObjectFactory` interface. There is no specific JNDI parent context for external JNDI resources, except for the standard `java:comp/env/`.

Create a custom resource in one of these ways:

- To create a custom resource using the Administration Console, open the Resources component, open the JNDI component, and select Custom Resources. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide.

- To create a custom resource, use the `asadmin create-custom-resource` command. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual.

- Previous: Accessing the Naming Context
- Next: Mapping References

- © 2010, Oracle Corporation and/or its affiliates