Skip Headers

# Projects

Previous

Next

The `Project` class is the primary container in which TopLink stores its mapping and configuration metadata. A project relates a set of object classes to a data source at the data model level.

A project contains a descriptor (see "Descriptors") for each class and each descriptor contains a mapping (see "Mappings") for each data member that TopLink should persist or transform.

Using TopLink Workbench, you can export mapping and configuration metadata into a deployment XML file called `project`. For more information, see "Exporting Project Information".

After creating the project XML file, you must associate it with a session so that TopLink can use it at run time. For more information, see "Configuring a Primary Mapping Project".

For Enterprise JavaBeans (EJB) applications where there is no session, deploy the project XML file to the target application server. In this context, the project XML file is also known as the deployment XML file.

For more information, see the following:

- "sessions.xml File"

- "project.xml File"

- "Understanding Projects".