Win a copy of Design for the Mind this week in the Design 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic