I have a project that currently executes many external programs using java.lang.Process. Assuming that their functionality is also available in native library form, what would be the advantages of executing said library functions using JNA instead?
The process executions are fairly heavy - they take a few seconds to complete. Am I correct in thinking that performance gains would be minimal?