With this simple framework, you can easily build and substitute your own Java Jar-file to process the frames of the Batch job.
Starting with your own Java source file
, just follow the instructions above to build the Java Jar-file
javac -d yourFile-bin yourFile.java
jar -cvfe yourFile.jar com.example.yourFile -C yourFile-bin/ com/example
Now you will have the Java Jar-file
Just edit the
file to change the
with the name of your Java Jar-file
runs on an instance and processes a single frame. You may need to install different dependencies in the
Pro Tip: When you are experimenting with getting your code running on a Neocortix Scalable Compute instance, it may be easiest to spin up a single instance and get it installed and running there, before running it at scale as a part of a Batch job.