Netscape Server Application Programming Interface

Netscape Server Application Programming Interface

The Netscape Server Application Programming Interface (NSAPI) is an application programming interface for extending server software, typically web server software.

Contents

History

NSAPI was initially developed by Rob McCool at Netscape for use in Netscape's web server software. A variant of NSAPI can also be used with Netscape's directory server software.

Because there is no formal standard, applications that use NSAPI are not necessarily portable across server software. As of 2007, varying degrees of support for NSAPI are found in Sun Java System Web Server and Zeus Web Server.

NSAPI plug-ins

Applications that use NSAPI are referred to as NSAPI plug-ins. Each plug-in implements one or more Server Application Functions (SAFs).

To use a SAF, an administrator must first configure the server to load the plug-in that implements that SAF. This is typically controlled by a configuration file named magnus.conf. Once the plug-in is loaded, the administrator can configure when the server should invoke the SAF and what parameters it should be passed. This is typically controlled by a configuration file named obj.conf.

Comparison with related APIs and protocols

NSAPI can be compared to an earlier protocol named Common Gateway Interface (CGI). Like CGI, NSAPI provides a means of interfacing application software with a web server. Unlike CGI programs, NSAPI plug-ins run inside the server process. Because CGI programs run outside of the server process, CGI programs are generally slower than NSAPI plug-ins. However, running outside of the server process can improve server reliability by isolating potentially buggy applications from the server software and from each other.

In contrast to CGI programs, NSAPI SAFs can be configured to run at different stages of request processing. For example, while processing a single HTTP request, different NSAPI SAFs can be used to authenticate and authorize the remote user, map the requested URI to a local file system path, generate the web page, and log the request.

After Netscape introduced NSAPI, Microsoft developed ISAPI and the Apache Software Foundation developed the Apache API. All three APIs have a number of similarities. For example: NSAPI, ISAPI and the Apache API allow applications to run inside the server process. Further, all three allow applications to participate in the different stages of request processing. For example, Apache API's hooks closely resemble those used in NSAPI.[1]

References

  1. ^ Apache API notes

External links



Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Server Application Programming Interface — Le Server Application Programming Interface (SAPI), l interface de programmation des applications serveurs, est le terme générique utilisé en informatique pour désigner les modules d interface d applications serveur web comme Apache, Internet… …   Wikipédia en Français

  • Server Application Programming Interface — In computer science, the Server Application Programming Interface (SAPI) is the generic term used to designate direct module interfaces to web server applications such as the Apache HTTP Server, Microsoft IIS, or iPlanet. Microsoft also uses the… …   Wikipedia

  • Netscape (web browser) — Netscape Navigator Developer(s) Netscape Communications AOL Initial release 15 December 1994 Stable release 9.0.0.6 / Febr …   Wikipedia

  • Netscape Enterprise Server — was a web server developed originally by Netscape Communications Corporation. The product has since been renamed Sun Java System Web Server, reflecting the product s acquisition by Sun Microsystems. Sun Microsystems open sourced Netscape… …   Wikipedia

  • Netscape Navigator 9 — Netscape Navigator 9.0 Netscape Navigator 9.0.0.6 on Windows Vista displaying the main page of the English Wikipedia …   Wikipedia

  • NetScape — Communications  Cet article concerne l entreprise. Pour le navigateur Web produit par cette dernière, voir Netscape Navigator. Logo de Netscape Communications …   Wikipédia en Français

  • Netscape — Communications  Cet article concerne l entreprise. Pour le navigateur Web produit par cette dernière, voir Netscape Navigator. Logo de Netscape Communications …   Wikipédia en Français

  • Netscape.com — Netscape Communications  Cet article concerne l entreprise. Pour le navigateur Web produit par cette dernière, voir Netscape Navigator. Logo de Netscape Communications …   Wikipédia en Français

  • Netscape (entreprise) — Netscape Communications  Cet article concerne l entreprise. Pour le navigateur Web produit par cette dernière, voir Netscape Navigator. Logo de Netscape Communications …   Wikipédia en Français

  • Netscape Communications And Weblogs — Netscape Communications  Cet article concerne l entreprise. Pour le navigateur Web produit par cette dernière, voir Netscape Navigator. Logo de Netscape Communications …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”