Setting Java Editor Preferences

Use the Preferences dialog to set preferences for the Java service editor and the Java source code generated for Java service proxies.

To set Java editor preferences:

  1. Select Window|Preferences from the main menu bar.

    The Preferences dialog box appears.

  2. Expand Sybase, Inc in the left pane.

  3. Select Java Editor.

    The Java Editor options appear in the right pane. They are described in the table below.

    Java editor preferences

    FeatureDescriptionDefault
    Catch WSIF Exceptions

    Whether generated code in the Java service implementation and in service proxies catches WSIF exceptions, that is, exceptions of type org.apache.wsif.WSIFException.

    On

    Catch Other Exceptions

    Whether generated code in the Java service implementation and in service proxies catches exceptions other than org.apache.wsif.WSIFException.

    On
    Retry CountIn generated Java service proxy code, the number of times to retry a service invocation that fails.0
    Wait Time Before Retry

    If Retry Count is not zero, this value specifies the time interval, in milliseconds, used between retries.

    0
    Enable Type ValidationWhether to check types in the Java interface for compatibility with different packaging and deployment models.On
  4. After you make all your changes, click OK.

  5. Some changes affect generated Java service proxy code, such as Retry Count and the settings that affect exception handling. To apply your changes to existing Java service proxies, regenerate the Java service proxy code.

Java source editor preferences

The preferences for the Java source editor apply to the Source page of the Java Service Editor. For details on these preferences, see the Java Development User Guide.

Developing a Java Service

Generating Java Service Proxies

Handling Exceptions in a Java Service

Setting Service Editors Preferences

Setting Service Editor Color Preferences

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com