Skip Headers

# Using TopLink Workbench

Previous

Next

To create a new, mapped TopLink Workbench project from an XML schema using JAXB, use this procedure:

1. From TopLink Workbench, select File > New > Project > From XML Schema (JAXB).

2. Complete each field on the Create TopLink Workbench Project using JAXB dialog box, and then click OK.

The TopLink JAXB compiler generates JAXB-specific files (see "Understanding JAXB-Specific Generated Files") and TopLink-specific files (see "Understanding TopLink-Specific Generated Files").

Optionally, open the generated TopLink Workbench project (see "TopLink Workbench Project"), customize the generated mappings and descriptors, and reexport the TopLink project XML.

Note: Before you compile your generated classes, be sure to configure your IDE classpath to include `<``ORACLE_HOME``>\lib\xml.jar`. For example, see Using an Integrated Development Environment.

See Also

  Creating an XML Project From an XML Schema