Skip Headers

# Project Creation Overview

Previous

Next

You can create a project using TopLink Workbench or Java code.

Oracle recommends using TopLink Workbench to create projects and generate deployment XML or Java source versions of the project for use at run time. For more information, see "Using TopLink Workbench".

Alternatively, you can create projects in Java code. For an EIS project that uses a record type other than XML, you must use Java code. For more information, see "Using Java" and Oracle TopLink API Reference.

You can use TopLink to create a project, if any of the following conditions are met:

- You have both an object and data model: see "Creating a Project for an Existing Object and Data Model".

- You have an object model, but no data model yet: see "Creating a Project From an Existing Object Model".

- You have a data model, but no object model yet: "Creating a Project From an Existing Data Model".

- You have an XML schema (XSD) document, but no object model yet: see "Creating an XML Project From an XML Schema".

  If you have both XSD and object model classes, you can create an XML project using the procedure described in "Using TopLink Workbench".

- You have a non-OC4J CMP project, you can create a project by migrating your application to OC4J and TopLink persistence: see "Creating a Project by Migrating an EAR to OC4J".

- You are deploying an EJB CMP application to OC4J, you can create a project (including all mappings and data model) automatically at deployment time: see "Creating a Project From an OC4J EJB CMP EAR at Deployment Time".