Development procedure
Use this process to create a new Java driver:
- Start a normal Java project in your favorite IDE with a class having a main method.
- Add the JavaDriver.jar to the library of your project.
- Begin writing the methods you intend to use.
-
Test methods from a stub in
main()
until satisfied with testing. - 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.
- Build/deploy your jar file.
- Start the system process.
- Attach debugger.
- Run tests.
- Edit code to fix bugs, attempt to hot swap your code changes.
- If hot code swap is successful, then go to step 9.
- If hot code swap fails, then stop the system process and go to step 6.