views:

125

answers:

2

Is there any way to run one same instance of JavaCcript(jQuery) on the server side and call it from a Java method? :)

I am interested to know whether it is possible to run it on the server side (not clientside), like Google app engine.

+3  A: 

Jaxer by Aptana is the first Ajax server. It has a javascript capability for the server-side. Whether it does what you need is for you to decide.

http://jaxer.org/

MagikWorx
+6  A: 

Rhino. Apparently it supports a few javascript libraries, including jquery. http://ejohn.org/blog/bringing-the-browser-to-the-server/

marklai