# Creating a new JAXB project

Use this procedure to create a new JPA project.

1. From the Navigator or Project Explorer, select File > New > Project. The Select a wizard dialog appears.

   Tip: You can also select the JPA perspective and then select File > New > JAXB Project.

   Selecting the Create a JAXB Project wizard

2. Select JAXB Project and then click Next. The New JAXB Project page appears.

   The JAXB Project Page

3. Complete the fields on the New JAXB Project page to specify the project name and location, target runtime, and pre-defined configuration.

   Note: The Target runtime is not required for Java SE development.

4. Click Next. The Java source page appears.

   The Java Source Page

5. Click Add Folder to add existing Java source files to the project.

6. Click Next. JAXB Facet page appears.

   The JAXB Facet Page

7. Complete the fields on the JAXB Facet page to specify your vender-specific platform, JPA implementation library, and database connection.

   Click Manage libraries to create or update your JPA user libraries. Click Download libraries to obtain additional JPA implementation libraries.

   Note: Depending on your JAXB implementation (for example, Generic or EclipseLink), different options may be available when creating JAXB projects.

8. Click Finish. Dali creates the new JAXB project.

   You should now open the JPA Development perspective.

Related reference

- Create New JAXB Project wizard

- JPA Development perspective

Related tasks

- Managing the persistence.xml file

- Adding persistence to a class

- Converting a Java project to a JPA project

Related concepts

- Understanding Java persistence

- The persistence.xml file