Is there any way to run a Javascript engine, like Spidermonkey, on Google App Engine? Spidermonkey is a C module, so obviously that wont work (GAE doesn't allow those types of modules)... is there something else available?

- 9,565
- 7
- 48
- 55

- 6,009
- 6
- 36
- 51
-
The people who answered here seem to have a great deal of expertise. I have a very very simple problem. Might you guys help me with it? http://stackoverflow.com/questions/33192485/using-rhino-instead-of-scriptengine-to-run-javascript-code-in-java I just need to get a Date from JavaScript to Java. – learner Oct 24 '15 at 22:34
4 Answers
Here is an article about running Rhino on AppEngine/Java. That should get you a long way towards a real, functioning JavaScript application on AppEngine.

- 14,198
- 3
- 44
- 54
-
cool... thanks! my app is in Python... but seems like there are some options to run both at same time – Nicholas Franceschina Jul 11 '10 at 19:57
If you are looking for a JavaScript framework (as opposed to calling Java methods from JavaScript) you could try RingoJS (formerly Helma NG). It's a Rhino-based JavaScript framework that can run in AppEngine.
There's also AppengineJS, which can run on RingoJS (or Narwhal, which I haven't personally used). It's a port of the Python SDK (with mostly predictable changes to fit JavaScript conventions better). It's not complete, but it's close enough to work in most cases. It's nicer to use than using the Java API directly.

- 10,640
- 10
- 57
- 84

- 101,441
- 24
- 103
- 129
-
Thanks for posting that; I've been trying to remember the name for a week!! – Pointy Jul 11 '10 at 20:56
-
thanks... I saw "Helma NG" listed in the comments of Adam's link... but couldn't actually find the project. – Nicholas Franceschina Jul 12 '10 at 04:20
-
I've also built ApeJS if you want to try it out. It's much more minimal than the competition.

- 29,161
- 19
- 114
- 169
Google is now supporting custom language on Google App Engine. So we can do Node.js

- 9,565
- 7
- 48
- 55