0 Replies Latest reply on Dec 21, 2006 11:24 AM by ssanjeev

    Running Scripts inside J2EE Containers

    ssanjeev

      I have a "wierd" requirement to run scripts within JBoss. I am aware that this is not the smartest thing to do. But are there known ways to do this. The reason being, we need:
      1. Control over the execution context (detect run-away scripts).
      2. Control the lifecycle of the scripts to terminate run-away scripts

      I am using a script interpreter like the one from BSF.

      Is there even a best practice on this approach - considering that it is not a valid approach.

      - Sanjeev