ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/dbconn.htm

78 lines
4.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Database access with the IBM Developer Kit for Java" />
<meta name="abstract" content="With the IBM Developer Kit for Java, your Java programs can access your database files in three ways." />
<meta name="description" content="With the IBM Developer Kit for Java, your Java programs can access your database files in three ways." />
<meta name="DC.Relation" scheme="URI" content="whatitis.htm" />
<meta name="DC.Relation" scheme="URI" content="jdbc.htm" />
<meta name="DC.Relation" scheme="URI" content="sqljintr.htm" />
<meta name="DC.Relation" scheme="URI" content="jsqlrout.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="dbconn" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Database access with the IBM Developer Kit for Java</title>
</head>
<body id="dbconn"><a name="dbconn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Database access with the IBM Developer Kit for Java</h1>
<div><p>With the IBM<sup>®</sup> Developer Kit for Java™, your Java programs can access your database files
in three ways.</p>
<ul><li><a href="jdbc.htm">JDBC</a> driver explains how the IBM Developer
Kit for Java JDBC driver allows Java programs to access database files.</li>
<li><a href="sqljintr.htm">SQLJ</a> support explains how the IBM Developer
Kit for Java allows you to use SQL statements that are embedded
in your Java application.</li>
<li> <a href="jsqlrout.htm">Java SQL routines</a> explains how you
can use Java stored procedures and Java user-defined functions to access Java programs.</li>
</ul>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="jdbc.htm">Access your iSeries database with the IBM Developer Kit for Java JDBC driver</a></strong><br />
The IBM Developer
Kit for Java JDBC driver, also known as the "native" driver,
provides programmatic access to iSeries™ database files. Using the Java Database
Connectivity (JDBC) API, applications written in the Java language
can access JDBC database functions with embedded Structured Query Language
(SQL), run SQL statements, retrieve results, and propagate changes back to
the database. The JDBC API can also be used to interact with multiple data
sources in a distributed, heterogeneous environment.</li>
<li class="ulchildlink"><strong><a href="sqljintr.htm">Access databases using IBM Developer Kit for Java DB2 SQLJ support</a></strong><br />
DB2<sup>®</sup> Structured
Query Language for Java (SQLJ) support is based on the SQLJ
ANSI standard. The DB2<sup>®</sup> SQLJ support is contained in the IBM Developer
Kit for Java. DB2<sup>®</sup> SQLJ support allows you to create, build, and run
embedded SQL for Java applications.</li>
<li class="ulchildlink"><strong><a href="jsqlrout.htm">Java SQL routines</a></strong><br />
Your iSeries™ server
provides the ability to access Java programs from SQL statements and programs.
This can be done using Java stored procedures and Java user-defined
functions (UDFs). The iSeries™ server supports both the DB2<sup>®</sup> and SQLJ conventions
for calling Java stored procedures and Java UDFs. Both Java stored procedures and Java UDFs
can use Java classes that are stored in JAR files. The iSeries™ server
uses stored procedures defined by the <em>SQLJ Part 1</em> standard to register
JAR files with the database.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="whatitis.htm" title="Java compatibleIBM Developer Kit for Java is optimized for use in an iSeries server environment. It uses the compatibility of Java programming and user interfaces, so you can develop your own applications for the iSeries server.">IBM Developer Kit for Java</a></div>
</div>
</div>
</body>
</html>