views:

49

answers:

3

Background:

We've written some client-side javascript that we now have to move to a server for performance reasons. What we'd like to do is move the current javascript right over to a server rather than re-writing in a different language. It will need to access an Oracle database to get data.

Question:

So, what are some recommended implementations of Javascript on the server? We've looked briefly into Node.js but that can't access Oracle. I've also heard of Rhino, but don't know how that stands. Are there any implementations we should focus our investigation on? I should mention that we are using Apache on *nix for a server.

A: 

May be you can try calling oracle jdbc drivers via Rhino ~>

letronje
I'm aware that Rhino can access Oracle due to it being on the JVM, but I'm not sure on it's status as an implementation.
Josh Smeaton
A: 

I played around with Jaxer a while ago. Quite cool. There is a module for Apache available (mod_jaxer). It has db access, but I'm not sure if it can do Oracle or not.

rlovtang
A: 

There's always Microsoft JScript. Not sure how standard compliant it is though, or how portable your existing javascript code would be.

JScript 10.0 is a modern scripting language with a wide variety of applications. It is a true object-oriented language, and yet it still keeps its "scripting" feel. JScript 10.0 maintains full backwards compatibility with previous versions of JScript, while incorporating great new features and providing access to the common language runtime and .NET Framework.

JScript 10.0 is used for applications that run on the server by using the .NET Framework.

bzlm