Home

# Jetty and JNDI

This example shows how to configure and lookup resources such as DataSources, a JTA transaction manager and a java.mail.Session in JNDI.

## The JNDI Demo

### Preparation

This demonstration will use the Atomikos transaction manager and the Derby database by default. Consult the jetty documentation for instructions on how to replace these.

### Execution

Click `Test` to check the runtime lookup of the JNDI resources.