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 Visual COBOL
  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 Visual COBOL
Note: You can also run the application from the command line instead of from the Visual COBOL project; however, to do so, you must also configure the JVM runtime environment.