Chapter 3: Using the Message Bridge GUI
Message Bridge generates DataBeans for your message definition. See Chapter 2, “Understanding the DataBean Framework” for more information on DataBeans.
To generate code from your message definitions
In the Definitions panel, select the message definition for which you want to generate code.
Go to Tools | Generate.
If you have not saved your message definition yet, you are prompted to do so. Save your message definition and click Yes. The Generate dialog box opens.
If you want to create Javadoc, click the Create Documentation box.
This tells Message Bridge to create HTML comments (javadoc) for all the DataBean classes it generates for this message definition.
Enter a package name in the Package Name field.
This identifies the package name used in all the DataBean classes that Message Bridge generates for this message definition.
Using the browse button, set the directory to where you want Message Bridge to generate code.
This is where Message Bridge places the DataBean classes and other developer artifacts.
Accept the default .jar file name.
This identifies the .jar file into which all of the DataBean classes will be placed. If you are using XSD files, xsd is automatically appended to the .jar file name.
Click OK to generate the DataBean classes for your message definition.
|Copyright © 2005. Sybase Inc. All rights reserved.|