Neoview ODBC Drivers Manual (R2.5)

If you choose to port an ODBC 32–bit application to 64–bit, you must make code changes. For
detailed information about the differences between 32–bit and 64–bit, ODBC code, please refer
to the Microsoft Developer Network Online Library at http://msdn.microsoft.com/en-us/library/
ms716287.aspx.
For installation instructions, see the README for the HP Neoview ODBC Driver for Windows,
located at www.software.hp.com.
Data Sources
To configure ODBC client access to the Neoview database, the HP Neoview Database Connectivity
Service (NDCS) requires data source definitions on both the Neoview database and client
workstation.
Default Data Source
NDCS provides a preconfigured, default server data source on the server called
TDM_Default_DataSource. The TDM_Default_DataSource has these functions:
ODBC clients can connect to TDM_Default_DataSource.
If an ODBC client tries to connect to a server data source that does not exist, it will default
to TDM_Default_DataSource. Contact your Administrator to create server data sources.
Client Data Sources
Client data sources reside on a client workstation. Each client data source is a logical name that
identifies the attribute values used to connect to NDCS and defines some local behavior for the
connection.
Use the Microsoft ODBC Administrator to add, configure, and remove the HP Neoview ODBC
driver data sources.
NOTE: If an ODBC client tries to connect to a server data source that is stopped, NDCS rejects
the connection.
Connections
Connecting a Client to a Data Source
The following scenario describes how an ODBC client application connects to NDCS:
1. The application connects using the client data source name. The client source data specifies
an IP address or host name and port number.
2. If the user information is not valid, the connection is rejected.
Connection Pooling
Connection pooling enables an application to use a connection from a pool of connections that
do not need to be reestablished for each use. Once a connection has been created and placed in
a pool, an application can reuse that connection without performing the complete connection
process.
Using a pooled connection can result in significant performance gains, because applications can
save the overhead involved in making a connection. This can be particularly significant for
middle-tier applications that connect over a network, or for applications that repeatedly connect
and disconnect, such as Internet applications.
In addition to performance gains, the connection pooling architecture enables an environment
and its associated connections to be used by multiple components in a single process. This means
that stand-alone components in the same process can interact with each other without being
16 HP Neoview ODBC Driver Overview for Windows