Server-side JavaScript

From Wikipedia, the free encyclopedia

Server-side JavaScript (SSJS) refers to JavaScript that runs on server-side. This term was coined because the language is predominantly used on the 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.

Examples of current uses of JavaScript on the server side
Project/product name JavaScript Engine Server Platform(s) Comments
AppJet Rhino(modified) also provides hosting in a virtual machine
ASP JScript IIS
Cocoon Flowscript Rhino Apache Cocoon
firecat FESI Stand-alone Complete package with web server and framework.
Helma Object Publisher Rhino Jetty HTTP Server Complete package with web server and framework.
Jaxer SpiderMonkey Apache HTTP Server An actively developed ajax-server. HTML, JavaScript, and CSS are native to Jaxer, as are XMLHttpRequests, JSON, DOM scripting, etc. It offers access to databases, files, and networking, as well as logging, process management, scalability, security, integration APIs, and extensibility.
jsext SpiderMonkey Apache HTTP Server, lighttpd and Stand-alone Has modules for fastCGI, CGI, MySQL, SQLite, FTP, SMTP, HTTP, AJAX, JSON, SOAP, WSDL and more. Automatic inclusion of C libraries.
JSP Caucho Resin Servlet Runner Resin version 2 only. Not available in version 3.
JSSP Rhino Any Java servlet container. Contains a modified Rhino version for embedded SQL support
JuiceScript SpiderMonkey Apache HTTP Server and Stand-alone
Junction Rhino Apache HTTP Server Ruby on Rails port to javascript
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.
mod_js SpiderMonkey Apache HTTP Server mod_js is a stand-alone module for Apache that is able to execute JavaScript on the server.
OpenMocha Helma Stand-alone
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.
Rhino in Spring Rhino Spring
Rhinola Rhino Apache HTTP Server Uses gcj
Server Side Javascript Rhino Jetty 6 For writing servlets.
ServiceCenter SpiderMonkey N/A A commercial product in the HP OpenView product range, uses SSJS to allow tailoring of the application server.
Veracart A hosted e-commerce 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.
Whitebeam SpiderMonkey Apache HTTP Server Server-side JavaScript environment for developing web applications. Includes integration with graphics libraries and the PostgreSQL database. Actively developed and in use supporting commercial sites. Released under the BSD license. Latest release supports E4X.
wxJavaScript SpiderMonkey Apache HTTP Server and Stand-alone With E4X and wxWidgets ported classes.

Other common server-side programming languages are Java, C#, Perl, PHP, Python, Ruby and ColdFusion amongst others.

[edit] Specifications

[edit] See also