In this section we shall create a JAXB project. Select File | New | Other. In the New wizard select JAXB Project under JAXB and click on Next, as shown in the following screenshot:
In the New JAXB Project window specify a project name in the Project name field, and select <None> for Target Runtime, because the JAXB application is run as a Java application and does not require a target server. Specify 2.1 as JAXB version and click on Next, as shown in the following screenshot:
In Java configuration, source folders on the build path have the names as src
, and the default output folder is build/classes
. Click on Next. In the JAXB Facet dialog box select Generic JAXB 2.1 as Platform, and select User Library for the Type field under JAXB implementation. Click on the Download Library button, as follows:
In the Download Library window select EclipseLink 2.4.0 – Juno and click on Next, as shown in the following screenshot: