I need a piece of code that can invoke another java application and send two strings as parameters. And then get String (This is a JSON string) response.
process = new ProcessBuilder("XYZ", Address , Type).start();
In this statement I don't understand what XYZ
means, and how to define a particular method of Java Application to be called through this ProcessBuilder
statement.