## Add Object Store

Use this dialog to add an existing object store to the navigational pane of your administrative tool. After adding the object store, you can connect to it and proceed to add destination objects and connection factory objects to it.

An object store contains the administrative objects you create: destination objects and connection factory objects. Its contents are accessed through standard JNDI lookup code called by the client application . An object store can be file-based or it can be an LDAP server. If you want to use a file-based store, you need to create a folder for it. If you want to use an LDAP server, you must configure and start that server.

Object Store Label: Specifies the name of the object store. This name will be displayed in the navigational pane of the administration console.

JNDI Naming Service Properties: Use the controls in this area to define the list of JNDI properties for this object store. Use the Name drop down list to select a property name. After selecting the property name, use the Value field to enter the property value.

See `http://java.sun.com/products/jndi/1.2/javadoc/` for information about the JNDI application programming interface. You are required to set the `java.naming.factory.initial and java.naming.provider.url` properties.

The initial context property (`java.naming.factory.initial`) can have two values:

- File system store: `com.sun.jndi.fscontext.RefFSContextFactory`
- LDAP server: `com.sun.jndi.ldap.LdapCtxFactory`

You are also required to specify authentication information. However, if you are concerned about security, you can wait to be prompted for this information at connect time.

- After specifying the property name and value, click the Add button to add the property to the table.
- To delete a property you have already added, select a property in the table, and click the Delete button.
- Use the Clear button to clear all entries.
- To reconfigure a property select an entry, change its values, and use the Change button to reconfigure that property.
- Use the OK button to commit all property settings and add the object store.

To change the properties of an existing object store, you must do the following:

1. Disconnect from the object store if it is not already disconnected. An object store is disconnected if its icon in the navigational pane looks like:
   To disconnect an object store, select the store in the navigational pane and choose Actions > Disconnect from Object Store.
2. Choose Actions > Properties to display the Object Store Properties dialog.

To add a destination object to the object store, click on the Destinations folder and choose Actions > Add Destination Object.

To add a connection factory to the object store , click on the Connection Factory folder and choose Actions > Add Connection Factory Object.