To generate Java code from a mapping design file (.mfd):
1.Review and select the desired code generation options (see Code generator options ).
2.On the File menu, click Generate code in | Java.
3.Select a destination directory for the generated files, and then click OK to confirm. The result of code generation (error or success message) is displayed in the Messages window.
The default name of the generated application is Mapping, and the default name of the base package is com.mapforce. If required, you can change these from the Mapping Settings dialog box (see Changing the mapping settings ).