IBM GC09-2830-00 manual Accessing DB2 Data from the Web Using Net.Data, Quick Beginnings

Models: GC09-2830-00

1 196
Download 196 pages 29.94 Kb
Page 28
Image 28

For more information on Java enablement, refer to the DB2 Java Enablement web page at http://www.software.ibm.com/data/db2/java/. For more

information on the JDBC API, point your browser to http://splash.javasoft.com/.

Accessing DB2 Data from the Web Using Net.Data

Net.Data is provided with DB2 to allow you to create applications that access data in DB2 databases from the Web.

Use Net.Data to create applications that are stored on a Web server and viewable from any Web browser. While viewing these documents, users can either select automated queries or de®ne new ones that retrieve the speci®ed information directly from a DB2 database.

Automated queries do not require user input; they are links in an HTML document and, when selected, they trigger existing SQL queries and return the results from a DB2 database. These links can be triggered repeatedly to access current DB2 data. Customized queries require user input. Users de®ne the search characteristics on the Web page by selecting options from a list or by entering values in ®elds. They submit the search by clicking on a push button. Net.Data uses the information that is supplied by the user to dynamically build a complete SQL statement, and it sends the query to the DB2 database.

A demonstration of Net.Data applications is available from the IBM Software Net.Datapage at http://www.software.ibm.com/data/net.data.

Net.Data can be installed with a DB2 server to allow local access to databases. Net.Datacan be installed with a DB2 client to allow remote access to databases. In both cases, Net.Data and the Web server must be installed on the same system.

16Quick Beginnings

Page 28
Image 28
IBM GC09-2830-00 manual Accessing DB2 Data from the Web Using Net.Data, Quick Beginnings