Rashid,
To call an operating system shell script or batch file, you use the Runtime.exec() API. In your case, you can just call the Java program:
There's no reason to introduce additional complexity since you are calling other Java code.
With either approach, you may want to start the other program in a new
Thread if you want it to be asynchronous.