This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to put xyz.exe file in ejb project  RSS feed

 
Ankita Bhargava
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use some.exe file into my project which needs to be placed inside the EJB project. Which i want to execute using Process class.
 
Claude Moore
Ranch Hand
Posts: 875
8
IBM DB2 Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ankita Bhargava
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!