rhino Questions
1
Solved
I am trying to call a java script function from java code.
Here is my Java code
public static void main(String[] args) throws FileNotFoundException {
try {
/**
* To call a anonymous function ...
Oath asked 29/6, 2012 at 9:0
1
Solved
I'm trying to get require.js to load modules on the server-side with Java 6 and Rhino.
I'm able to load require.js itself just fine. Rhino can see the require() function. I can tell because Rhino ...
Mcbride asked 17/6, 2012 at 21:15
2
Solved
I am using a Javascript object as an object with configuration properties.
E.g. I have this object in javascript:
var myProps = {prop1: 'prop1', prop2: 'prop2', 'prop3': 'prop3'};
This object (N...
Cenobite asked 1/4, 2010 at 9:42
1
Solved
I'm using rhino from the JVM with the jaxax.script interfaces. I'm trying to evaluate JavaScript that contains 'require' calls. This does not work because there is no definition of 'require'. Is re...
Colloidal asked 23/5, 2012 at 15:29
2
Solved
Is it possible to intercept field (and method) access of Java objects in the executed JavaScript code? Just like the delegate in JSCocoa that allows to handle property and method access.
Prefect asked 7/5, 2012 at 13:58
2
Solved
I'm looking for the javascript equivalent of Python2.x's print "hi".
I'm working with the Rhino javascript interpreter in the ubuntu terminal.
When I type:
document.write{"hi"}
I get the error t...
Urumchi asked 4/4, 2012 at 10:49
2
Solved
Can any one suggest a good tutorial for Mozilla rhino. What i want to do is to validate a form in java swing with javascript.
The official tutorial page on the mozilla website is not clear about ac...
Spectre asked 17/3, 2012 at 4:40
2
I have a project I'm working on for my company and right now I need to decide which JS Engine I should use. Currently the choices I have are Spidermonkey or Rhino.
My main concern is performance ...
Sergeant asked 30/1, 2012 at 7:51
1
Looking at it, Rhino doesn't support the caller property for functions - does anyone know if there is a branch that allows this, even if just in interpreter mode?
If not, does anyone have any gene...
Banter asked 24/1, 2012 at 12:30
2
Solved
For the first time, I began learning Javascript, however on the start I stuck up with two possible options: Rhino and Spidermonkey. Could you please, tell me what is one, and what is another, so I ...
Polyphonic asked 17/1, 2012 at 16:55
3
In a Java program I'm invoking a user-defined JavaScript program:
File userJSFile=...;
javax.script.ScriptEngineManager mgr=new ScriptEngineManager();
javax.script.ScriptEngine scripEngine= mgr.ge...
Udell asked 3/7, 2009 at 8:44
1
Solved
I'm trying to improve the performance of a javascript snippet evaluator. These script snippets can reference any number of variables that exist in a string-keyed map of json-like object graphs (IE:...
Tacklind asked 19/12, 2011 at 7:42
1
Solved
I am interested in the lifecycle and concurrency semantics of (Rhino) Script Engine and associated classes. Specifically:
Is Bindings supposed to be thread safe?
Should multiple threads be allowe...
Weathercock asked 4/8, 2011 at 4:34
3
Solved
I am creating a unit test in mstest with rhino mocks. I have a class A that inherits class B. I am testing class A and create an instance of it for my test. The class it inherits, "B", has some pro...
Tented asked 28/11, 2011 at 9:38
5
Solved
Hey people would love to hear about any resources you have or know about for nServiceBus, Rhino Service Bus and MassTransit.
Videos?
Blog posts?
Books?
Demo Projects etc
Ortrud asked 18/6, 2009 at 12:8
2
Solved
Are there any tips & tricks for making rhino perform faster? I'm trying to compress a large js file using uglifyJs in Rhino and it takes more than a minute. Do you have any hints or other...
Lucylud asked 6/8, 2011 at 11:50
3
Solved
I noticed ubuntu 10.04 removed the spidermonkey package. Rhino looks like it's still there though. What are the differences between rhino and spidermonkey (besides what language they're written in)...
Marylyn asked 25/8, 2010 at 7:58
4
Solved
I currently set up EnvJS on my system (installed from here).
My end goal is to load a page let it's javascript process for a few seconds, and then read the dom to get the information of interest. H...
Towhee asked 29/5, 2011 at 21:56
2
I am writing an XUL application. It is not a Firefox extension but a standalone app to be used through XULrunner. My intention is to adopt TDD in my development process and I am looking at RhinoUni...
Childress asked 23/7, 2011 at 1:17
1
I've been porting and application I developed in client Javascript to my server (for a multiplayer game purposes). I am executing some parts using the ScriptEngine because I want to use the same co...
Albaugh asked 27/7, 2011 at 17:19
1
Solved
In the sun.org.mozilla version of Rhino, JavaAdapter only takes interfaces as its first argument instead of any other kind of class according to this error message:
javax.script.ScriptException: s...
Ruffina asked 26/1, 2011 at 2:50
6
Solved
how to write unit tests to internal classes ???
Motherhood asked 3/3, 2009 at 12:3
4
Solved
I'm new to Node.js and I have been reading about Narwhal that is a framework based on Rhino.
My questions:
If I'm using Node.js, could I use Narwhal and its libraries/modules?
Aren't the lib...
Cantina asked 11/10, 2010 at 6:10
1
Solved
I'm currently using Maven to build my Rhino JavaScript project, download dependent libraries, and manage the classpath at runtime. I'm able to run the JavaScript entry point by using the Maven exec...
1
i want to Debug my js codes in Eclipse.
how to setup Mozilla rhino in Eclipse...
(step by step guide.
Oversexed asked 13/1, 2011 at 12:57
© 2022 - 2024 — McMap. All rights reserved.