Just wanted to give an update on this for the group. I was able to load
the Rhino 1.7RC1 into an Oracle database (Java 1.4). As well as the
compiled javascript classes and use as stored procedures (functions).
Thanks for all your help.
-Edwin S. Ramirez-
Norris Boyd wrote:
> On Feb 1, 11:29
On Feb 1, 11:29 am, [EMAIL PROTECTED] wrote:
> Great that is exactly what I am looking for. I even created an
> interface to specify the function signatures. However:
>
> Java Program:
> public class trigger {
>
> public static void main(String[] args) {
> test e = new test();
>
Great that is exactly what I am looking for. I even created an
interface to specify the function signatures. However:
Java Program:
public class trigger {
public static void main(String[] args) {
test e = new test();
System.out.println("Sum: " + e.sum(10, 20));
Syst
On Jan 31, 7:16 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> I don't understand... I would like to use the class (methods) from Java
> not from Javascript. Ideally, the compiler would create a class that
> would contain all or some of the functions exposed as methods. For example:
>
> Javascript:
>
Hello,
I don't understand... I would like to use the class (methods) from Java
not from Javascript. Ideally, the compiler would create a class that
would contain all or some of the functions exposed as methods. For example:
Javascript:
function sum1(a, b) {
return a+b;
}
fu
On Jan 31, 11:12 am, [EMAIL PROTECTED] wrote:
> Hello,
>
> Is it possible to expose a script's functions as methods of the class
> when compiling Javascript to a Java class? If yes, how?
>
> Reason:
>
> I would like to use Javascript functions as SQL functions within Oracle
> triggers, avoiding re
Hello,
Is it possible to expose a script's functions as methods of the class
when compiling Javascript to a Java class? If yes, how?
Reason:
I would like to use Javascript functions as SQL functions within Oracle
triggers, avoiding recoding these in PL/SQL. Oracle allows for public
methods