In my opinion, the only answer would be : nowhere. You should not execute an external program from a Java EE application. Instead, you should rely to JCA to try and invoke it... to keep things simple,
what about encapsulating your exe program in a wrapper which exposes, in turn, an "execute" method via web service?
posted 3 years ago
Thanks for reply.. but i do not think so it works in my project because i do not have program of that exe file it was given by some one else for execution..