Table of Contents | Previous | Next | Index


Getting Started

This book describes creating Server-Side JavaScript (SSJS) applications. JavaScript is Netscape's cross-platform, object-based scripting language for client and server applications.

This chapter contains these sections:


What's New in this Release

With the release of the 3.x and 4.x versions of Netscape Enterprise Server, LiveWire is fully integrated into the server. Since LiveWire database connectivity is now integrated as the LiveWire Database Service portion of server-side JavaScript, developers do not have to install LiveWire as a separate product. Simply turn on the JavaScript support in the Administration Server to make the necessary components available.

NOTE: The difference between SSJS in Netscape Enterprise Server (NES) 3.x and NES 4.x is that NES 4.x now uses a JavaScript Runtime from Mozilla.org which supports JavaScript 1.4. Previous versions of SSJS supported JavaScript 1.0, JavaScript 1.1, and JavaScript 1.2.

Support for JavaScript 1.4

JavaScript version 1.4 provides several new features and enhancements, which are discussed in the online manual Core JavaScript Reference v1.4 at:

http://developer.netscape.com/docs/manuals/js/core/jsref/index.htm
The following list summarizes the new features:

Changes to the JavaScript Application Manager

The functionality of the JavaScript Application Manager has not changed in Enterprise Server 4.0 compared to Enterprise Server 3.x. However, it uses the the same new color scheme as the Server Manager in Enteprise Server 4.0 and it has some minor layout rearrangements.

Figure 0.1 shows the JavaScript Application Manager in Enteprise Server 4.0.

Figure 0.1    The JavaScript Application Manager in Enterprise Server 4.0

The JavaScript Application Manager now has three tabs:

Although the names and layout of the tabs and buttons are slightly different in the JavaScript Application Manager in Enterprise Server 4.0 than in Enterprise Server 3.6, the underlying functionality is unchanged.


What You Should Already Know

This book assumes you have this basic background:


JavaScript Versions

Each version of the Netscape Enterprise Server supports a different version of JavaScript. To help you write scripts that are compatible with multiple versions of the Enterprise Server, this manual uses an abbreviation to indicate the server version in which each feature was implemented.

JavaScript and Netscape Enterprise Server versions

JavaScript Version Enterprise Server version

JavaScript 1.2

Netscape Enterprise Server 3.6 (NES 3.6)

JavaScript 1.4

Netscape Enterprise Server 4.0 (NES 4.0)


Where to Find JavaScript Information

Because JavaScript can be approached on several levels, its documentation has been split across several books to facilitate your introduction. The suite of online JavaScript books includes:

The server-side JavaScript documentation includes the following books:

If you are new to JavaScript, start with Chapter 1, "JavaScript Overview," then continue with the rest of the book. Once you have a firm grasp of the fundamentals, you can use the Server-Side JavaScript Reference to get more details on individual objects and statements.

Use the material in this book to familiarize yourself with core and server-side JavaScript. Use the Client-Side JavaScript Guide and Client-Side JavaScript Reference for information on scripting HTML pages.

Enterprise Server 4.x Release Notes provides late-breaking information on Enterprise Server 4.x, including some information relevant to server-side JavaScript for Enterprise Server 4.x.

The Netscape Enterprise Server Programmer's Guide summarizes the different programming interfaces available with the 4.x versions of Netscape web servers. Use this guide as a roadmap or starting point for exploring the Enterprise Server documentation for developers.

In addition, other Netscape books discuss certain aspects of JavaScript particularly relevant to their topic area. These books are mentioned where relevant throughout this book.

The Netscape web site contains much information that can be useful when you're creating JavaScript applications. Some URLs of particular interest include:


Upgrading from an Earlier Release

If you have previously installed an earlier version of a Netscape web server, you should migrate the server settings when you install the Enterprise Server 4.x. For information on how to install the server and migrate settings, see the Enterprise Server 4.0 Installation and Migration Guide.

If you have previously created JavaScript applications using Server-Side JavaScript 3.x, you should be aware of these changes that occur when you upgrade to 4.x and migrate old server settings:


Backward Compatibility with Earlier Releases

You must also be aware of these changes in the behavior of server-side JavaScript applications relative to Netscape Enterprise Server 3.x:


Document Conventions

JavaScript applications run on many operating systems; the information here applies to all versions. File and directory paths are given in Windows format (with backslashes separating directory names). For Unix versions, the directory paths are the same, except that you use slashes instead of backslashes to separate directories.

This book uses uniform resource locators (URLs) of the form

http://server.domain/path/file.html
In these URLs, server represents the name of the server on which you run your application, such as research1 or www; domain represents your Internet domain name, such as netscape.com or uiuc.edu; path represents the directory structure on the server; and file.html represents an individual filename. In general, items in italics in URLs are placeholders and items in normal monospace font are literals. If your server has Secure Sockets Layer (SSL) enabled, you would use https instead of http in the URL.

This book uses the following font conventions:


Table of Contents | Previous | Next | Index

Last Updated: 09/29/99 18:01:48

© Copyright 1999 Sun Microsystems, Inc. Some preexisting portions Copyright 1999 Netscape Communications Corp. All rights reserved.