0 Replies Latest reply on Nov 7, 2007 4:53 PM by Jo Geraerts

    Executing Native Commands

    Jo Geraerts Newbie

      Hi,

      We are using some Stateless session beans to execute some native commands. ( through Runtime.getRuntime().exec() ). But i feel we're raping the EJB spec in every possible way with doing this.

      The commands we're executing will fetch some files from some legacy file service.

      But what is the correct way of executing these commands, is there a specific pattern I can use? Should i mabye use JCA for this?

      Please advise,


      Thank you very much,


      Jo