JDBC Process

We recommend the following process for developing, building, and executing a JVM COBOL application for JDBC:

  1. Assemble your JDBC resources.
  2. Create a JVM COBOL project in Enterprise Developer.
  3. Set Micro Focus project properties, including SQL Preprocessor and JVM Build Path properties.
  4. Assemble application components in your JVM COBOL project.
  5. Develop application code.
  6. Add appropriate database connection code to your JDBC programs.
  7. Build the project.
  8. Debug or Run the application in Enterprise Developer.
Note: You can also run the application from the command line instead of from the Enterprise Developer project; however, to do so, you must also configure the JVM runtime environment.