Skip Headers

# CMP Deployment Role: Deployment Login

Previous

Next

You create a deployment login in the `project.xml` file (also known as the `toplink-ejb-jar.xml` file) for a TopLink-enabled CMP application.

When you deploy your TopLink-enabled CMP application with its `toplink-ejb-jar.xml` file, the application server or EJB container uses the information in the deployment login whenever your business logic performs a persistence operation from within an entity bean with container-managed persistence.

In this case, you do not configure a session login (see "Non-CMP Session Role: Session Login"). In fact, there is no `session.xml` file at all (see "CMP Applications and Session Metadata").

If you are using TopLink Workbench and your login is based on a relational database platform, you must also configure a development login (see "Development Role: Development Login").

For information on creating a deployment login, see "Configuring Development and Deployment Logins".