There are several ways to provide your middle-tier components with access to the iSeries™ server.
The IBM® DB2® UDB for iSeries .NET Provider offers the best performance to access the iSeries database for programmers that write applications using Microsoft's .NET Data Access Framework. Throughout this documentation, Managed Provider is used interchangeably with IBM DB2 UDB for iSeries .NET Provider and IBM.Data.DB2.iSeries data provider. Regardless of the name that is referenced, you can take advantage of the full set of .NET data types and SQL functionality to make it easy for applications to work with data stored securely in your iSeries server databases.
See .NET programming for more information.
Most applications and components use the iSeries Access for Windows OLE DB provider through ActiveX Data Objects (ADO). Here are the four primary benefits to implementing this technique:
See OLE DB programming for more information.
Additionally, you can access the iSeries Access ODBC driver through either ADO or Remote Data Services (RDS), by using the Microsoft® OLE DB provider for ODBC (MSDASQL).
For more information about accessing ODBC through ADO, see Choosing an interface to access the ODBC driver.
For other iSeries Access ODBC driver information, see ODBC programming.
The iSeries Access for Windows client provides a library of ActiveX automation objects that your developers can use for middle-tier development. These objects provide access to:
In some cases, ActiveX objects provide greater versatility and functionality than ADO, but require slightly more complex programming.
iSeries Access for Windows APIs provide fast, low-level access to i5/OS™ host servers. However, using these APIs requires developers who are experienced with C/C++. Specifically, developers must be familiar with C APIs and data types, and must also account for thread-safety considerations when creating their components.