Previous Next Contents Index


Summary of Standard APIs

This appendix lists the standard APIs that Netscape Application Server supports as part of the new application programming model.

The following topics are presented in this appendix:

Sun Microsystems owns the process of defining, creating, and publishing the API specifications. Even so, many of the methods, classes, and interfaces from these APIs are described throughout this Programmer's Guide, particularly in the context of designing applications for NAS. This appendix provides a convenient location for reviewing the standard APIs.

Note
This appendix reflects the specifications that NAS supports for its 4.0 release. All supported specifications are accessible from installdir/nas/docs/index.htm, where installdir is the location in which you installed NAS. For further reading, see Related Information. Also see the official Java web site at http://java.sun.com.

For more information about the Netscape APIs provided specifically for NAS, see Summary of the NAS API in the Netscape Application Server Foundation Class Reference (Java).


The Java Servlet API
This section lists the classes and interfaces defined in Version 2.1 of the Java Servlet API Specification. The Servlet API specifies two packages:

For the latest documentation and source code, see the servlet 2. 1 specification. All specifications are accessible from installdir/nas/docs/index.htm, where installdir is the location in which you installed NAS.

The javax.servlet Package javax.servlet contains the following classes and interfaces:

Class
Interface
GenericServlet
RequestDispatcher
ServletRequest
ServletException
Servlet
ServletResponse
ServletInputStream
ServletConfig
SingleThreadMode
ServletOutputStream
ServletContext

UnavailableException


The javax.servlet.http Package javax.servlet.http contains the following classes and interfaces:

Class
Interface
Cookie
HttpServletRequest
HttpServlet
HttpServletResponse
HttpSessionBindingEvent
HttpSession
HttpUtils
HttpSessionBindingListener

HttpSessionContext


The Enterprise JavaBeans API
This section summarizes the packages defined in Version 1.0 of the Enterprise JavaBeans Specification. The Enterprise JavaBeans API specifies two packages:

For the latest documentation and source code, see the EJB 1.0 specification. All specifications are accessible from installdir/nas/docs/index.htm, where installdir is the location in which you installed NAS.

The javax.ejb Package javax.ejb contains the following exceptions and interfaces:

Exception
Interface
CreateException
EJBContext
EntityContext
DuplicateKeyException
EJBHome
Handle
EJBException
EJBMetaData
SessionBean
FinderException
EJBObject
SessionContext
ObjectNotFoundException
EnterpriseBean
SessionSynchronization
RemoveException
EntityBean

The javax.ejb.deployment Package javax.ejb.deployment contains the following classes:

Class


Note. javax.ejb.deployment is deprecated in the EJB 1.1 specification, and thus will be deprecated in future versions of NAS.


The JDBC Core API
This section summarizes the java.sql package, which is defined in the JDBC 2.0 Core API Specification.

For the latest documentation and source code, see the JDBC 2.0 specification. All specifications are accessible from installdir/nas/docs/index.htm, where installdir is the location in which you installed NAS.

The java.sql package contains the following classes and exceptions.

Class
Exception
Date
BatchUpdateException
DriverManager
DataTruncation
DriverPropertyInfo
SQLException
Time
SQLWarning
Timestamp

Types

The java.sql package contains the following interfaces. Items that are shown in bold italics are recent additions to the specification; these items are not yet supported in NAS.

Interface

Array
Driver
SQLData
Blob
PreparedStatement
SQLInput
CallableStatement
Ref
SQLOutput
Clob
ResultSet
Statement
Connection
ResultSetMetaData
Struct
DatabaseMetaData



The JDBC Standard Extensions API
This section summarizes the javax.sql package, which is defined in the JDBC 2.0 Standard Extensions API Specification.

For the latest documentation and source code, see the JDBC 2.0 specification. All specifications are accessible from installdir/nas/docs/index.htm, where installdir is the location in which you installed NAS.

The javax.sql package contains the following classes and exceptions.

Class
Interface

ConnectionEvent
ConnectionEventListener
RowSetListener
RowSetEvent
ConnectionPoolDataSource
RowSetMetaData

DataSource
RowSetReader

PooledConnection
RowSetWriter

RowSet
XAConnection

RowSetInternal
XADataSource

 

© Copyright 1999 Netscape Communications Corp.