Previous Next Contents Index


Summary of the NAS API

This chapter gives an overview of the classes and interfaces that make up the Netscape Application Server Foundation Class Library, also called the NAS API.

This chapter includes the following main topics:


Support for Standard Java APIs
NAS supports several industry-standard Java APIs. In particular, NAS supports the APIs and technologies as defined by the following specifications:

Note that NAS 4.0 provides full support for JDBC 1.0 and partial support for JDBC 2.0. The supported JDBC 2.0 functionality is described in the Programmer's Guide (Java).

The specifications listed above are accessible from the following location:

installdir/nas/docs/index.htm
where installdir is the location in which you installed NAS.

Note that Sun Microsystems owns the process of defining, creating, and publishing these specifications. As a result, you can find more information about these APIs at their web site:

http://java.sun.com
This web site also hosts the latest versions of the Java specifications, which are not necessarily supported in NAS 4.0.


How to Use the NAS API
This guide, Netscape Application Server Foundation Class Reference (Java), provides information on the NAS API. If you want to develop an application that is 100% compliant with the industry-standard Java technologies (servlets, JSPs, EJBs, and JDBC calls), do not use the NAS API.

However, there are three main situations for which the NAS API is useful.

These uses are described in the following subsections.

Additional NAS Features In many situations, you'd like your application to use functionality that is not supported by the industry-standard APIs (for example, application events, security, and distributed state).

In addition, your application may need to access

For these situations, you may want to use the features listed in the following table:

Classes
Interfaces
GXContext
HttpServletRequest2
IEnumObject
NASRowSet
HttpSession2
ILock
SqlUtil
IAppEventMgr
IMailbox

IAppEventObj
IServerContext

ICallerContext
IState2

IContext

The Development Environment of Netscape Application Builder If you develop applications using Netscape Application Builder (NAB), your generated code may rely on the classes or interfaces listed in the following table. Typically, only NAB users will use these classes or interfaces, although they are available to anyone developing applications in the NAS environment.

Classes
Interfaces
BaseUtils
IListRowSet
DBRowSet
IRowSet2
DefaultHttpSession
IServletErrorHandler
DefaultHttpSession2

DefaultTemplateMap

MemRowSet

NASString

NASStringBuffer

Deprecated Functionality Netscape Application Server now supports a standards-based application model. As a result, many of the classes and interfaces in the NAS Foundation Class Library are deprecated. They are provided only for backward compatibility with existing NAS applications.

Deprecated code will become unsupported in an upcoming release. Netscape therefore recommends that new applications use equivalent functionality from the industry-standard Java APIs. In many cases, you may want to migrate existing applications, so that they operate within the new application model. For more information, see the Migration Guide.

The following classes and interfaces of the NAS API are deprecated. Within this reference guide, the corresponding headings are marked (deprecated).

Classes
Interfaces
AppLogic
IAppEvent
IResultSet
GUID
IBuffer
ISequence
GX
ICallableStmt
ISequenceMgr
GXVAL
IColumn
ISession2
Session2
IDataConn
ISessionIDGen
TemplateDataBasic
IDataConnSet
IStreamBuffer
TemplateMapBasic
IError
ITable
Util
IHierQuery
ITemplateData

IHierResultSet
ITemplateMap

IObject
ITile

IOrder
ITrans

IPreparedQuery
IValList

IQuery

 

© Copyright 1999 Netscape Communications Corp.