<html>
<!-- This panel generated from the developerWorks XML tag set for tutorials, Version 2.0.0. (C) Copyright 2000, 2001 IBM Corporation. All rights reserved. -->
<head><META http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>摘要</title>
<style type="text/css"><!--
body { color: #000000; background-color: #ffffff; }
dt { font-weight: bold; }
code { font-family: Courier, monospace; font-size: +2; }
titleCode { font-family: Courier, monospace; font-size: +4; }
ol.alpha { list-style-type: upper-alpha; }
span.center { text-align: center; }
span.right { text-align: right; }
span.constant { color: #990099; }
span.keyword { color: #993333; }
span.function-name { color: #666633; }
span.comment { color: #666666; }
span.string { color: #0000ff; }
span.variable-name { color: #000066; }
span.type { color: #006600; }
span.spacer { font-size: 1pt; }
.small { font-family: Verdana, sans-serif; font-size: 8pt }
.divider { color: #999999; font-family: Verdana, Arial, sans-serif; font-weight: normal }
a.mainlink:link { text-decoration: none; color: #ffffff; font-family: Verdana, Arial, sans-serif; font-weight: bold; font-size: 8pt }
a.mainlink:visited { text-decoration: none; color: #ffffff; font-family: Verdana, Arial, sans-serif; font-weight: bold; font-size: 8pt }
a.mainlink:hover { text-decoration: underline; color: #ffffff; font-family: Verdana, Arial, sans-serif; font-weight: bold; font-size: 8pt }
.hbg { background-color : #006699; background-image: url(../i/lines.gif) ;background-repeat: repeat; }
.tbg { background-color : #006699; background-image: url(../i/gr760.gif); }
.tbgc { background-color : #006699 }
.bbg { background-color : #000000; vertical-align: middle }
.dbg { background-color : #6699cc }
.mbg { background-color : #99ccff }
.lbg { background-color : #cce5ff }
-->
</style>
</head>
<body bgcolor="ffffff">
<script language="javascript">
<!-- var emailAbstract="本教程展示了从一个运行在 JVM 内部的 Java 应用程序研究数据库并与其通讯。";
var justTitle="用 JDBC 管理数据库连接";
var tutorialPrereqs="http://www-106.ibm.com/developerworks/education/r-jdbc2.html";
var menu1blurb="关于本教程";
var menu2blurb="应用程序体系";
var menu3blurb="JDBC 驱动程序基础";
var menu4blurb="数据库事务";
var menu5blurb="数据源";
var menu6blurb="连接池";
var menu7blurb="优化数据库通讯";
var menu8blurb="摘要";
var browser = "x";
if (navigator.userAgent.indexOf("Mozilla/4") != -1) browser = "N3";
else if (navigator.userAgent.indexOf("Mozilla/3") != -1) browser = "N3";
else browser = "x";
if (browser=="N3")
{
var menu1over=new Image(108,68);
var menu1out=new Image(108,68);
var menu2over=new Image(108,68);
var menu2out=new Image(108,68);
var menu3over=new Image(108,68);
var menu3out=new Image(108,68);
var menu4over=new Image(108,68);
var menu4out=new Image(108,68);
var menu5over=new Image(108,68);
var menu5out=new Image(108,68);
var menu6over=new Image(108,68);
var menu6out=new Image(108,68);
var menu7over=new Image(108,68);
var menu7out=new Image(108,68);
var menu8over=new Image(108,68);
var menu8out=new Image(108,68);
var topmainover=new Image(77,15);
var topmainout=new Image(77,15);
var bottommainover=new Image(77,15);
var bottommainout=new Image(77,15);
var topsectionover=new Image(98,15);
var topsectionout=new Image(98,15);
var bottomsectionover=new Image(98,15);
var bottomsectionout=new Image(98,15);
var topfeedbackover=new Image(80,15);
var topfeedbackout=new Image(80,15);
var bottomfeedbackover=new Image(80,15);
var bottomfeedbackout=new Image(80,15);
var toppreviousover=new Image(77,15);
var toppreviousout=new Image(77,15);
var bottompreviousover=new Image(77,15);
var bottompreviousout=new Image(77,15);
var topnextover=new Image(60,15);
var topnextout=new Image(60,15);
var bottomnextover=new Image(60,15);
var bottomnextout=new Image(60,15);
var topnextsectionover=new Image(108,15);
var topnextsectionout=new Image(108,15);
var bottomnextsectionover=new Image(108,15);
var bottomnextsectionout=new Image(108,15);
menu1over.src="imagemaster/himenu1.jpg";
menu1out.src="imagemaster/menu1.jpg";
menu2over.src="imagemaster/himenu2.jpg";
menu2out.src="imagemaster/menu2.jpg";
menu3over.src="imagemaster/himenu3.jpg";
menu3out.src="imagemaster/menu3.jpg";
menu4over.src="imagemaster/himenu4.jpg";
menu4out.src="imagemaster/menu4.jpg";
menu5over.src="imagemaster/himenu5.jpg";
menu5out.src="imagemaster/menu5.jpg";
menu6over.src="imagemaster/himenu6.jpg";
menu6out.src="imagemaster/menu6.jpg";
menu7over.src="imagemaster/himenu7.jpg";
menu7out.src="imagemaster/menu7.jpg";
menu8over.src="imagemaster/himenu8.jpg";
menu8out.src="imagemaster/menu8.jpg";
var mainblurb="主菜单";
var sectionblurb="章节菜单";
var feedbackblurb="提交反馈意见";
var previousblurb="上一屏";
var nextblurb="下一屏";
var nextsectionblurb="下一章";
topmainover.src="../i/h-main.gif";
topmainout.src="../i/main.gif";
bottommainover.src="../i/h-main.gif";
bottommainout.src="../i/main.gif";
topsectionover.src="../i/h-section.gif";
topsectionout.src="../i/section.gif";
bottomsectionover.src="../i/h-section.gif";
bottomsectionout.src="../i/section.gif";
topfeedbackover.src="../i/h-feedback.gif";
topfeedbackout.src="../i/feedback.gif";
bottomfeedbackover.src="../i/h-feedback.gif";
bottomfeedbackout.src="../i/feedback.gif";
toppreviousover.src="../i/h-previous.gif";
toppreviousout.src="../i/previous.gif";
bottompreviousover.src="../i/h-previous.gif";
bottompreviousout.src="../i/previous.gif";
topnextover.src="../i/h-next.gif";
topnextout.src="../i/next.gif";
bottomnextover.src="../i/h-next.gif";
bottomnextout.src="../i/next.gif";
topnextsectionout.src="../i/nextsection.gif";
topnextsectionover.src="../i/h-nextsection.gif";
bottomnextsectionout.src="../i/nextsection.gif";
bottomnextsectionover.src="../i/h-nextsection.gif";
}
function iOut(image)
{
if (browser=="N3")document[image].src=eval(image + "out.src");
}
function iOver(image)
{
if (browser=="N3")document[image].src=eval(image + "over.src");
}
// -->
</script><script src="../i/emailfriend.js" language="javascript"></script><a href="#navskip"><img border="0" alt="Skip to main content" src="../i/c.gif"></a>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="tbgc" width="160"><a href="/developerWorks/cgi-bin/click.cgi?url=http://www.ibm.com/cn"><img height="47" width="160" alt="IBM" border="0" src="../i/ibm-logo.gif"></a></td><td class="tbg" width="195"><font color="#99ccff" size="2"><b>China</b></font><a href="#main"><img alt="Skip to main content" height="1" width="195" border="0" src="../i/c.gif"></a></td><td valign="top" align="right" class="tbgc" width="100%">
<table cellspacing="0" cellpadding="0" border="0">
<form name="form1" id="form1" action="http://202.95.2.149/cgi-bin/dWsearch.pl" method="get">
<tr>
<td colspan="6"><img alt="" height="4" width="390" border="0" src="../i/c.gif"></td>
</tr>
<tr valign="middle">
<td class="dwsearch" height="8"><select class="d
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
该教程包含jdbc数据库连接的方方面面,非常详细,也包含大量实例,是非常好的学习资料和参考资料教你,本教程说明了怎样使用 JDBC 连接到数据库。虽然这个主题看起来乏味,但事实上它对于新手和老手来说都是一块绊脚石。本教程将从传统的 JDBC 驱动程序和 DriverManager 对象开始,讨论 JVM 内部的 Java 应用程序如何发现数据库和怎样与其进行通讯。在几个说明四种不同类型的 JDBC 驱动程序的示例之后,本教程接下来会讨论使用 JNDI 的 DataSource 对象。其中还包括关于 JNDI 和如何绑定、使用、重新绑定和删除 DataSource 对象的讨论。最后介绍并说明了连接池的概念,特别是 PooledConnection 对象。本教程以一个关于细调问题的讨论来结束,这个问题在开发数据库连通性应用程序时经常被忽略。 <br>
资源推荐
资源详情
资源评论
收起资源包目录
jdbc学习全程 (115个子文件)
Thumbs.db 62KB
typeone.gif 7KB
typethree.gif 6KB
typetwo.gif 6KB
typefour.gif 5KB
dw-logo2.gif 2KB
icon-pdf-ltr.gif 1KB
icon-pdf-a4.gif 1KB
h-section.gif 1014B
xfeedback.gif 1013B
feedback.gif 1011B
xsection.gif 1009B
section.gif 1008B
h-feedback.gif 1006B
h-nextsection.gif 999B
h-previous.gif 989B
nextsection.gif 983B
h-main.gif 979B
h-next.gif 975B
xprevious.gif 968B
previous.gif 968B
main.gif 964B
xmain.gif 964B
xnext.gif 964B
next.gif 963B
email.gif 891B
shopibm.gif 755B
icon-zip.gif 604B
btn-close.gif 574B
support.gif 501B
downloads.gif 484B
mgradient.gif 359B
about.gif 341B
btn-send.gif 336B
h-menu.gif 284B
mast_lnav_sp.gif 282B
mast_logo.gif 223B
icon-discuss.gif 208B
icon-email.gif 167B
arrow.gif 119B
c.gif 43B
sw-gold.gif 36B
j-jdbc-8-2.html 20KB
j-jdbc-3-2.html 19KB
j-jdbc-5-3.html 19KB
j-jdbc-3-9.html 19KB
j-jdbc-5-5.html 19KB
j-jdbc-3-3.html 19KB
j-jdbc-6-4.html 19KB
j-jdbc-4-5.html 19KB
j-jdbc-6-3.html 18KB
j-jdbc-4-4.html 18KB
j-jdbc-5-4.html 18KB
j-jdbc-4-3.html 18KB
j-jdbc-2-3.html 18KB
j-jdbc-7-2.html 18KB
j-jdbc-5-6.html 18KB
j-jdbc-3-6.html 18KB
j-jdbc-8-3.html 18KB
j-jdbc-6-2.html 18KB
j-jdbc-3-4.html 18KB
j-jdbc-3-5.html 18KB
j-jdbc-1-4.html 18KB
j-jdbc-4-2.html 18KB
j-jdbc-6-1.html 18KB
j-jdbc-1-3.html 18KB
j-jdbc-5-2.html 18KB
j-jdbc-5-1.html 18KB
j-jdbc-3-8.html 18KB
j-jdbc-3-7.html 18KB
j-jdbc-2-2.html 18KB
j-jdbc-7-1.html 17KB
j-jdbc-1-2.html 17KB
j-jdbc-3-1.html 17KB
j-jdbc-4-1.html 17KB
j-jdbc-8-1.html 17KB
j-jdbc-2-1.html 17KB
j-jdbc-1-1.html 17KB
index.html 16KB
index3.html 15KB
index5.html 15KB
index4.html 15KB
index6.html 14KB
index1.html 14KB
index2.html 14KB
index8.html 14KB
index7.html 14KB
tutorial.jpg 16KB
masthead.jpg 6KB
titlebar3.jpg 4KB
titlebar7.jpg 3KB
titlebar2.jpg 3KB
himenu3.jpg 3KB
titlebar4.jpg 3KB
himenu7.jpg 3KB
titlebar1.jpg 3KB
himenu2.jpg 3KB
himenu4.jpg 3KB
himenu1.jpg 3KB
himenu5.jpg 3KB
共 115 条
- 1
- 2
资源评论
w_j_w2008
- 粉丝: 61
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功