Skip Headers
Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2)
Part No. B15900-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Completing the Tutorials

Generating Code

To use your project with the Foundation Library, you must either generate deployment XML files or export the project to Java source code.

In this tutorial, we will create a deployment XML file that can be read in at runtime. The code generator creates a single subclass that can be used instead of reading directly from the files.

To export to Java source code:

  1. Right-click the project in the Navigator pane and choose Export Project to Java Source from the pop-up menu. The Choose an Export File dialog box appears.

    You can also export the project by choosing File >  Export to Java Source or Selected >  Export to Java Source from the menu.

  2. Select a directory location and file name (.java) and click OK.

Congratulations! You have completed the Advanced Tutorial and are now familiar with TopLink's advanced topics and functions.

Completed versions of this tutorial (for various architectures and application servers) are included with the complete installation of TopLink in the following directory:

<ORACLE_HOME>\toplink\examples