This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there any problem if we start an OS native process from a MDB?

 
raminaa niilian
Ranch Hand
Posts: 551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post
Is there any problem if we start for example a shell script from an MDB?
for example we start another application when we recieve a special message?

Thanks.
 
Shailesh Kini
Ranch Hand
Posts: 153
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raminaa,

If you really want you could do all that, however, you have play around a lot with the SecurityManager to be able to execute those tasks and it is definitely not recommended by the EJB Container spec. You should not do any IO related stuff in your EJB because IO cannot participate in a transaction context.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic