Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Netscape Server Application Programming Interface

From Wikipedia, the free encyclopedia
For other uses, seeNSAPI.

TheNetscape Server Application Programming Interface (NSAPI) is anapplication programming interface for extending serversoftware, typicallyweb server software.

History

[edit]

NSAPI was initially developed byRob McCool atNetscape for use inNetscape Enterprise Server. A variant of NSAPI can also be used withNetscape Directory Server.

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 inSun Java System Web Server andZeus Web Server.

NSAPI plug-ins

[edit]

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

To use a SAF, anadministrator must first configure the server to load the plug-in that implements that SAF. This is typically controlled by aconfiguration 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

[edit]

NSAPI can be compared to an earlier protocol namedCommon Gateway Interface (CGI). Like CGI, NSAPI provides a means of interfacingapplication software with a web server. Unlike CGIprograms, 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 potentiallybuggy 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 singleHTTP request, different NSAPI SAFs can be used to authenticate and authorize the remote user, map the requestedURI to a local file system path, generate the web page, and log the request.

After Netscape introduced NSAPI,Microsoft developedISAPI and theApache Software Foundation developed Apache API (or ASAPI:Apache Server API). All three APIs have a number of similarities. For example: NSAPI, ISAPI and 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 hooks closely resemble those used in NSAPI.[1]

See also

[edit]
  • NPAPI (Netscape Plugin Application Programming Interface)

References

[edit]
  1. ^"Apache API notes". Archived fromthe original on 2007-03-28. Retrieved2007-03-24.

External links

[edit]
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
Browser versions
E-mail clients
Other components
Server software
Web services
People
See also
Retrieved from "https://en.wikipedia.org/w/index.php?title=Netscape_Server_Application_Programming_Interface&oldid=1258236673"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp