Starting a Jruby app from another Jruby app

So I have a Sinatra based service which is packaged into a war run from
within a servlet container, I want the app to be able to start another
Jruby app which in this case is packaged into a straight jar. I imagine
doing something like:

IO.popen4 java -jar myapp.jar

Any gotchas ?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs