Java programming task overview

About this task

After you generate code with BladeSmith, complete these general tasks to finish your DataBlade® module code:

Procedure

  1. Add code to the ProjectUDRs.java source code file to enable your routines to function as you intend.
    See Edit methods for instructions.
  2. Compile your source code files by using the generated makefile.
  3. Debug your source code files by using the Java log file.
  4. Execute functional tests.

Results

For a list of the Java packages, interfaces, classes, and methods you can use in Java projects, see J/Foundation Developer's Guide.

To avoid merging conflicts when you regenerate your code, add code only in areas marked by TO DO: comments or after the generated code. If you do modify code outside the designated areas, after you regenerate you might have two copies of the routine: the one you modified and the one BladeSmith generated. Although your changes remain, you must resolve conflicts in the two pieces of code.