[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: How to call ruby script from java and get results back
From:       A Berger <aberger7890 () gmail ! com>
Date:       2016-08-26 17:57:06
Message-ID: CAA_gM+V29ADScfqsfhZ1JtBz+pNYonL-0viH1kUgpf2cyr_YrA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi
The other way round: call Java from within MRI would also be interesting.
How to avoid starting the Java-engine for every call? => run an app
containing the library and then call the functions only with two processes.
Are there other/better possibilities?

Bye Berg
Am 26.08.2016 17:43 schrieb "Ruby Student" <ruby.student@gmail.com>:

> Hello Team,
>
> I was wondering, and I did some unsuccessful search if I can do the
> following:
>
> From a Java class, invoke a Ruby (MRI) script and get any results produced
> by the Ruby script back in the calling Java class.
>
> Thank you
>
> --
> Ruby Student
>
>
> Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
>
>

[Attachment #5 (text/html)]

<p dir="ltr">Hi<br>
The other way round: call Java from within MRI would also be interesting.<br>
How to avoid starting the Java-engine for every call? =&gt; run an app containing the \
library and then call the functions only with two processes.<br> Are there \
other/better possibilities?</p> <p dir="ltr">Bye Berg<br>
</p>
<div class="gmail_quote">Am 26.08.2016 17:43 schrieb &quot;Ruby Student&quot; &lt;<a \
href="mailto:ruby.student@gmail.com">ruby.student@gmail.com</a>&gt;:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello \
Team,<div><br></div><div>I was wondering, and I did some unsuccessful search  if I \
can do the following:</div><div><br></div><div>From a Java class, invoke a Ruby (MRI) \
script and get any results produced by the Ruby script back in the calling Java \
class.</div><div><br clear="all"><div>Thank you</div><div><br></div>-- <br><div \
data-smartmail="gmail_signature">Ruby Student</div> </div></div>
<br><br>
Unsubscribe: &lt;mailto:<a \
href="mailto:ruby-talk-request@ruby-lang.org">ruby-talk-request@<wbr>ruby-lang.org</a>?subject=<wbr>unsubscribe&gt;<br>
 &lt;<a href="http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk" \
rel="noreferrer" target="_blank">http://lists.ruby-lang.org/<wbr>cgi-bin/mailman/options/ruby-<wbr>talk</a>&gt;<br>
 <br></blockquote></div>



Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic