<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
You could expose your java funcions as a web service and then call them
from lua.<br>
<br>
Kenny<br>
<br>
On 4/21/2010 1:13 PM, Jan Berger wrote:
<blockquote cite="mid:SNT135-w24586229340FF36D1A8AC6D2090@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>I
can make it run from shell - but it's bascally a collection of routines
that I would like to use.<br>
&nbsp;<br>
I know javascript has a Java intereface (JNI), but might be that
working on the Java module makes more sence.<br>
&nbsp;<br>
Jan<br>
&nbsp;<br>
  <hr id="stopSpelling">
Date: Wed, 21 Apr 2010 08:43:50 -0500<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Java from Lua<br>
  <br>
is the java app run from the shell? <br>
  <br>
  <div class="ecxgmail_quote">On Wed, Apr 21, 2010 at 8:30 AM, Jan
Berger <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:janvb@live.com">janvb@live.com</a>&gt;</span> wrote:<br>
  <blockquote style="padding-left: 1ex;" class="ecxgmail_quote">
    <div><br>
hi folks,<br>
&nbsp;<br>
I am working on a IVR demo and need to call some Java code from within
a Lua. Basically i just want to run a Java app and pass some parameters
forth and back.<br>
&nbsp;<br>
I assume this might be easier using JavaScript or Java itself ???<br>
&nbsp;<br>
Jan<br>
    <br>
    <hr>
Hotmail: Trusted email with powerful SPAM protection. <a
 moz-do-not-send="true"
 href="https://signup.live.com/signup.aspx?id=60969">Sign up now.</a></div>
    <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Anthony Minessale II<br>
  <br>
FreeSWITCH <a moz-do-not-send="true" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a moz-do-not-send="true"
 href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>
  <br>
AIM: anthm<br>
  <a moz-do-not-send="true"
 href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
 href="mailto:PAYPAL:anthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net/">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a moz-do-not-send="true"
 href="mailto:sip:888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="mailto:googletalk:conf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
  <br>
  <hr>Hotmail: Free, trusted and rich email service. <a
 moz-do-not-send="true"
 href="https://signup.live.com/signup.aspx?id=60969" target="_new">Get
it now.</a>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
</body>
</html>