Skip Headers

# Exporting Model Java Source

Previous

Next

To generate the project model's Java source code, use this procedure:

1. Right-click the project, package, or specific descriptor in the Navigator and choose Export > Export Model Java Source from the context menu. TopLink Workbench creates a `.java` file for each selected descriptor.

   You can also choose Workbench > Export > Export Model Java Source or Selected > Export > Model Java Source from the menu or click Generate Source Code on the Class tab. See "Configuring Class Information" for more information.

If you have not defined deployment and source code generation defaults (see "Configuring a Project") TopLink Workbench prompts for a root directory.

Note: If your TopLink Workbench project uses UTF-8 character set, you must use a compatible JDK when compiling the exported Java source.

See Also

  Exporting Project Information
  Working With Projects