Server side javascript on Google app engine
Asked Answered
S

4

14

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?

Stela answered 11/7, 2010 at 19:26 Comment(1)
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? #33192985 I just need to get a Date from JavaScript to Java.Sabbat
K
2

Google is now supporting custom language on Google App Engine. So we can do Node.js

https://www.youtube.com/watch?v=Q8jZHc0NS6A

https://developers.google.com/cloud/managed-vms

Kiel answered 26/6, 2014 at 9:46 Comment(0)
S
8

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.

Stinkstone answered 11/7, 2010 at 19:35 Comment(1)
cool... thanks! my app is in Python... but seems like there are some options to run both at same timeStela
I
8

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.

Imalda answered 11/7, 2010 at 20:26 Comment(3)
Thanks for posting that; I've been trying to remember the name for a week!!Computerize
thanks... I saw "Helma NG" listed in the comments of Adam's link... but couldn't actually find the project.Stela
looks like AppengineJS.org is defunct.Pulse
C
3

I've also built ApeJS if you want to try it out. It's much more minimal than the competition.

Calculate answered 4/5, 2011 at 12:11 Comment(0)
K
2

Google is now supporting custom language on Google App Engine. So we can do Node.js

https://www.youtube.com/watch?v=Q8jZHc0NS6A

https://developers.google.com/cloud/managed-vms

Kiel answered 26/6, 2014 at 9:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.