Server-side JavaScript
Server-side JavaScript (SSJS) refers to JavaScript that runs on server-side. This term was coined because the language was originally limited to just client-side, i.e. client-side JavaScript (CSJS)..
The first implementation of SSJS was Netscape's LiveWire, included in their Enterprise Server 2.0 product, released in 1996.
Project/product name | JavaScript Engine | Server Platform(s) | Comments |
---|---|---|---|
ASP | JScript | IIS | |
firecat | Stand-alone | Complete package with web server and framework. | |
Helma Object Publisher | Rhino | Jetty HTTP Server | Complete package with web server and framework. |
jsext | SpiderMonkey | Stand-alone? | Makes inclusion of C libraries very simple and contains high-level wrappers written in JavaScript. |
JSP | Caucho Resin Servlet Runner | Resin version 2 only. Not available in version 3. | |
OpenMocha | Helma | Stand-alone | |
mod_js | SpiderMonkey | Apache HTTP Server | mod_js is a stand-alone module for Apache that is able to execute JavaScript on the server. |
Rhino in Spring | Rhino | Spring | |
Rhinola | Rhino | Apache HTTP Server | Uses gcj |
Whitebeam | SpiderMonkey | Apache HTTP Server | |
haXe | A meta-language, which among others can execute javascript. haXe itself is a variant of javascript. | ||
Cocoon Flowscript | Rhino | Apache Cocoon | |
Server Side Javascript | Rhino | Jetty 6 | For writing servlets. |
wxJavaScript | SpiderMonkey | Apache HTTP Server and Stand-alone | With E4X and wxWidgets ported classes. |
SpiderMonkey | N/A | A commercial product in the HP OpenView product range, uses SSJS to allow tailoring of the application server. | |
A hosted ecommerce platform which uses PHP to process data/events on the remote server, while using server-side JavaScript to generate the content via the intermediate site (store website), on to the clients computer. | |||
Zimki | SpiderMonkey | Stand-alone | A hosted solution |
Phobos | Rhino | Glassfish and any other Java servlet container. | |
POW Plain Old Webserver | SpiderMonkey | Mozilla Firefox | A Mozilla Firefox Extension which adds a server to your browser. Templates can use SSJS. |
Livelink Web Content Management Server (formerly Obtree) | A commercial content management system used in a number of European public-sector and financial organizations. It uses SSJS for dynamic features and to customize the behavior of built-in objects. | ||
JuiceScript | SpiderMonkey | Apache HTTP Server and Stand-alone |
Other common server-side programming languages are Java, C#, Perl, PHP, Python, Ruby and ColdFusion amongst others.
Specifications
- Reference for Server-Side JavaScript 1.2
- Guide for Server-Side JavaScript 1.4
- Guide for Server-Side JavaScript 1.2