Mined Opinions For API: rhino

This tab contains all the opinions collected from Stack Overflow about the API. The other tabs present summaries of the opinions using different algorithms.
  • More information on embedding Rhino to accomplish what you need at URL_http://www.mozilla.org/rhino/tutorial.html#runScript [ URL_http://www.mozilla.org/rhino/tutorial.html runScript] .. details
  • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.. details
  • I could recommend embedding Rhino, enabling the user to write javascript.. details
  • Embedding Rhino and exposing a limited set of objects was a great way to enable all sorts of user scripting in a past project and that was some years ago, Rhino is quite mature now.. details
  • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.. details
  • More information on embedding Rhino to accomplish what you need at URL_http://www.mozilla.org/rhino/tutorial.html#runScript [ URL_http://www.mozilla.org/rhino/tutorial.html runScript] .. details
  • You could even use JavaScript on the JVM if you like ( URL_http://www.mozilla.org/rhino/ [Rhino] ).. details
  • If the process is I/O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you.. details
  • If the process is I/O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you.. details
  • You could even use JavaScript on the JVM if you like ( URL_http://www.mozilla.org/rhino/ [Rhino] ).. details
  • CODETERM2 , but this does not seem like it would work for your use case.. details
  • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java - but since they are java.util.Map and java.util.List Objects, I can't use standard JavaScript associative array syntax.ie: CODETERM1 will work, but CODETERM2 and CODETERM3 will not.. details
  • If possible can you please let me know a bit more about Rhino.. details
  • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing.. details
  • I am now using custom parsing with Rhino instead, which is much more handy in my opinion.. details
  • If so, then this might be a good use of it.. details
  • Hope this helps!. details
  • What's the best way of achieving the requirement?. details
  • CODETERM5 is referenced several places in JSON2, and it works fine inside a browser (IE7, IE8, FF3).. details
  • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).. details
  • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).. details
  • These JSON files are coming from an external source (not Java).. details
  • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
  • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
  • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
  • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
  • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to.. details
  • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?. details
  • On Java objects, failed member lookups throw exceptions.. details
  • On JavaScript objects, failed property lookups return CODETERM2 .. details
  • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection.. details
  • When I try to do the CODETERM3 , it ends up giving me a script error that CODETERM4 is an unknown function.. details
  • When I try to do the CODETERM3 , it ends up giving me a script error that CODETERM4 is an unknown function.. details
Summaries the opinions about rhino using topic modeling.
  • 0. thing reason simple nest kind real custom parsing side expression: 4
    • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.. details
    • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing.. details
    • I am now using custom parsing with Rhino instead, which is much more handy in my opinion.. details
    • .replace is referenced several places in JSON2, and it works fine inside a browser (IE7, IE8, FF3).. details
  • 1. keyname foomap sound depend 100mb multiple add thousand bind process: 4
    • I could recommend embedding Rhino, enabling the user to write javascript.. details
    • You could even use JavaScript on the JVM if you like ( Rhino ).. details
    • If the process is I/O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you.. details
    • What's the best way of achieving the requirement?. details
  • 2. keyname foomap embed script util enable sort year expose case: 7
    • More information on embedding Rhino to accomplish what you need at runScript .. details
    • Embedding Rhino and exposing a limited set of objects was a great way to enable all sorts of user scripting in a past project and that was some years ago, Rhino is quite mature now.. details
    • fooMap.keyName , but this does not seem like it would work for your use case.. details
    • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java - but since they are java.util.Map and java.util.List Objects, I can't use standard JavaScript associative array syntax.ie: fooMap.get("keyName") will work, but fooMap.keyName and fooMap["keyName"] will not.. details
    • If possible can you please let me know a bit more about Rhino.. details
    • If so, then this might be a good use of it.. details
    • Hope this helps!. details
  • 0. lookup json2 simple throw serialize reflection member exception vacation script: 9
    • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( - and-json-parse-problem).. details
    • These JSON files are coming from an external source (not Java).. details
    • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
    • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to.. details
    • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?. details
    • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection.. details
    • On Java objects, failed member lookups throw exceptions.. details
    • On JavaScript objects, failed property lookups return undefined .. details
    • When I try to do the JSON.parse , it ends up giving me a script error that .replace is an unknown function.. details
Summaries of the opinions about rhino using three algorithms (Textrank, Lexrank and Luhn) adopted from extractive summarization. Each algorithm was used once for the positive opinions and once for the negative opinions.
  • I am now using custom parsing with Rhino instead, which is much more handy in my opinion .
  • .replace is referenced several places in JSON2, and it works fine inside a browser (IE7, IE8, FF3) .
  • What's the best way of achieving the requirement?.
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java but since they are java util Map and java util List Objects, I can't use standard JavaScript associative array syntax ie: fooMap.get("keyName") will work, but fooMap.keyName and fooMap["keyName"] will not .
  • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing .
  • I could recommend embedding Rhino, enabling the user to write javascript .
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java but since they are java util Map and java util List Objects, I can't use standard JavaScript associative array syntax ie: fooMap.get("keyName") will work, but fooMap.keyName and fooMap["keyName"] will not .
  • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing .
  • More information on embedding Rhino to accomplish what you need at runScript .
  • Embedding Rhino and exposing a limited set of objects was a great way to enable all sorts of user scripting in a past project and that was some years ago, Rhino is quite mature now .
  • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side .
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • More information on embedding Rhino to accomplish what you need at runScript .
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java but since they are java util Map and java util List Objects, I can't use standard JavaScript associative array syntax ie: fooMap.get("keyName") will work, but fooMap.keyName and fooMap["keyName"] will not .
  • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing .
  • More information on embedding Rhino to accomplish what you need at runScript .
  • Embedding Rhino and exposing a limited set of objects was a great way to enable all sorts of user scripting in a past project and that was some years ago, Rhino is quite mature now .
  • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side .
  • If the process is I O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you .
  • You could even use JavaScript on the JVM if you like ( Rhino ) .
  • More information on embedding Rhino to accomplish what you need at runScript .
  • These JSON files are coming from an external source (not Java) .
  • When I try to do the JSON.parse , it ends up giving me a script error that .replace is an unknown function .
  • This is saying roughly the same thing (use JSON2):[Java 6 JSON2 parse()]( and json parse problem) .
  • On JavaScript objects, failed property lookups return undefined .
  • On Java objects, failed member lookups throw exceptions .
  • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection .
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
  • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to .
  • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?.
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
  • These JSON files are coming from an external source (not Java) .
  • When I try to do the JSON.parse , it ends up giving me a script error that .replace is an unknown function .
  • This is saying roughly the same thing (use JSON2):[Java 6 JSON2 parse()]( and json parse problem) .
  • On JavaScript objects, failed property lookups return undefined .
  • On Java objects, failed member lookups throw exceptions .
  • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection .
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
  • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to .
  • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?.
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
  • These JSON files are coming from an external source (not Java) .
  • When I try to do the JSON.parse , it ends up giving me a script error that .replace is an unknown function .
  • This is saying roughly the same thing (use JSON2):[Java 6 JSON2 parse()]( and json parse problem) .
  • On JavaScript objects, failed property lookups return undefined .
  • On Java objects, failed member lookups throw exceptions .
  • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection .
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
  • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to .
  • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?.
  • Important point here, 100GB won't fit into main memory, so I O performance might be the bottleneck and should be optimized rather than the processing code .
Summaries of the opinions about rhino using Opinosis, an abstractive summarizer of opinions..
  • more information on embedding rhino to accomplish what you need at runscript .
  • even use javascript on the jvm if you like (/( rhino )/) .
  • i o performance might be the bottleneck and should be optimized rather than the processing code .
  • important point here , 100gb wo n't fit into main memory .
  • important point here .
Summaries of the opinions about rhino using contrastive viewpoints. Each entry contains a pair of positive and negative sentences that are most likely discussing about similar API features.
Summaries of opinions about based on specific API aspects, such as, performance, usability, etc. The 'Overview' page provides an overview of the aspects detected in the opinions. The 'Trend' page shows the distribution of polarity over time for each aspect. The 'Positive Opinions' page groups positive opinions by the detected aspects. The 'Contrastive By Aspect' page shows paris of contrastive opinions under each aspect (where found).
Features:
  • What's the best way of achieving the requirement?
  • These JSON files are coming from an external source (not Java).
Documentation:
  • More information on embedding Rhino to accomplish what you need at URL_http://www.mozilla.org/rhino/tutorial.html#runScript [ URL_http://www.mozilla.org/rhino/tutorial.html runScript] .
  • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).
Community:
  • Hope this helps!
  • N/A
Performance:
  • N/A
  • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.
Bug:
  • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.
  • On Java objects, failed member lookups throw exceptions.
Usability:
  • I could recommend embedding Rhino, enabling the user to write javascript.
  • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).
  • Documentation: 2
    1. general: 2
      • More information on embedding Rhino to accomplish what you need at URL_http://www.mozilla.org/rhino/tutorial.html#runScript [ URL_http://www.mozilla.org/rhino/tutorial.html runScript] .. details
      • More information on embedding Rhino to accomplish what you need at URL_http://www.mozilla.org/rhino/tutorial.html#runScript [ URL_http://www.mozilla.org/rhino/tutorial.html runScript] .. details
  • Features: 1
    1. general: 1
      • What's the best way of achieving the requirement?. details
  • Bug: 1
    1. general: 1
      • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.. details
  • Community: 1
    1. general: 1
  • Usability: 14
    1. parsing: 1
      • I am now using custom parsing with Rhino instead, which is much more handy in my opinion.. details
    2. browser: 1
      • CODETERM5 is referenced several places in JSON2, and it works fine inside a browser (IE7, IE8, FF3).. details
    3. client: 1
      • You've also got the advantage that if your problem requires it, you may well be able to set it up so that the same expressions will happily run client or server side.. details
    4. javascript: 4
      • You could even use JavaScript on the JVM if you like ( URL_http://www.mozilla.org/rhino/ [Rhino] ).. details
      • You could even use JavaScript on the JVM if you like ( URL_http://www.mozilla.org/rhino/ [Rhino] ).. details
      • I have a Map which contains only other maps and lists of primitives and Strings, I'd like to pass this to a Rhino script and do stuff to it, and return the modified object back out to Java - but since they are java.util.Map and java.util.List Objects, I can't use standard JavaScript associative array syntax.ie: CODETERM1 will work, but CODETERM2 and CODETERM3 will not.. details
      • Java does not support nested data objects in the same simple way JavaScript does, so there is no real reason to not use Rhino for that kind of thing.. details
    5. general: 7
      • I could recommend embedding Rhino, enabling the user to write javascript.. details
      • Embedding Rhino and exposing a limited set of objects was a great way to enable all sorts of user scripting in a past project and that was some years ago, Rhino is quite mature now.. details
      • If the process is I/O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you.. details
      • If the process is I/O bound (and if you're reading a thousand 100MB files, it sounds like it probably will be, depending on what you're doing with them), adding multiple threads won't help you.. details
      • CODETERM2 , but this does not seem like it would work for your use case.. details
      • If possible can you please let me know a bit more about Rhino.. details
      • If so, then this might be a good use of it.. details
  • Performance: 2
    1. general: 2
      • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
      • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
  • Documentation: 1
    1. general: 1
      • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).. details
  • Features: 2
    1. general: 2
      • These JSON files are coming from an external source (not Java).. details
      • On JavaScript objects, failed property lookups return CODETERM2 .. details
  • Bug: 2
    1. general: 2
      • On Java objects, failed member lookups throw exceptions.. details
      • When I try to do the CODETERM3 , it ends up giving me a script error that CODETERM4 is an unknown function.. details
  • Usability: 7
    1. general: 7
      • This is saying roughly the same thing (use JSON2):[Java 6 + JSON2.parse()]( URL_http://stackoverflow.com/questions/2405410/java-6-scriptengine - and-json-parse-problem).. details
      • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
      • Important point here, 100GB won't fit into main memory, so I/O performance might be the bottleneck and should be optimized rather than the processing code.. details
      • The javascript expressions can be as simple as the simplest case you show above, or can get as complex as they need to.. details
      • @Gagravarr sorry if is to late, I was in Vacation and hen so busy with another project, just I want to know how I check that ?. details
      • I don't know if anyone has already tackled the problem of serializing an arbitrary Java object to JSON via reflection.. details
      • When I try to do the CODETERM3 , it ends up giving me a script error that CODETERM4 is an unknown function.. details