Development procedure

Use this process to create a new Java driver:

  1. Start a normal Java project in your favorite IDE with a class having a main method.
  2. Add the JavaDriver.jar to the library of your project.
  3. Begin writing the methods you intend to use.
  4. Test methods from a stub in main() until satisfied with testing.
  5. Create a .jardesc file to build and deploy the jar file to the target directory, or the equivalent on other IDEs. This file is similar to the Eclipse sample.
  6. Build/deploy your jar file.
  7. Start the system process.
  8. Attach debugger.
  9. Run tests.
  10. Edit code to fix bugs, attempt to hot swap your code changes.
  11. If hot code swap is successful, then go to step 9.
  12. If hot code swap fails, then stop the system process and go to step 6.