📄 566.html
字号:
<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>论坛精华 >> JDBC >> Baisc Concepts about JDBC</title>
</head>
<body >
<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>
<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=4>论坛精华</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=24&int_attribute=4>JDBC</a>
>> Baisc Concepts about JDBC [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=566>查看别人的评论</a>]<br>
<hr><p>由 george 发布于: 2001-03-02 13:50</p><p> </p><p><font size =10 color = blue>2-tier and 3-tier Database Access Models</font><br>The JDBC provides support for 2-tier and 3-tier Database Access Models. WHen you use 2-tier access model, your java application talks directly to the database this is accomplished through the use of a JDBC dirver, which sends commands direactly to the database. THe results of these commands are then sent back from the database directly to the application.PLease see the following figure.<br><pre><br> |-----------------------------|<br> | Application Space |<br> | |----------------| |<br> | | Java app | |<br> | | | |<br> | | | |<br> | |----------------| |<br> | |----------------| | <br> | | | |<br> | | Jdbc driver | |<br> | |----------------| |<br> |-----------------------------|<br> | A<br>SQL Command| | Result set<br> | |<br> V |<br> |----------------|<br> | DataBase |<br> |----------------|<br></pre><br><br>The 3-tier model, as you might have guested, is a little more complicated, when you use the three tier midel, your JDBC driver sends commands to the database. The results of these commands are then sent back to the middle -tier, which communicates then back to the application.Just like the below:<br><pre><br> |-----------------------------|<br> | Application Space |<br> | |----------------| |<br> | | Java app | |<br> | | | |<br> | | | |<br> | |----------------| |<br> | |----------------| | <br> | | | |<br> | | Jdbc driver | |<br> | |----------------| |<br> |-----------------------------|<br> | A<br>SQL Command| | Result set<br> | |<br> V |<br> |----------------------------|<br> | Appication Server |<br> | (Webspher or VisualAge |<br> | test enviornmentsDataBase |<br> | |<br> |----------------------------|<br> | A<br> | | proprietary protocols<br> | |<br> V |<br> |----------------|<br> | DataBase |<br> |----------------|<br></pre><br>(followed by JDBC Driver Types)<br>How many kinds of JDBC driver in java?<br>Which one is most popular and is thought as the best one?<br>Whick kinds of driver sre there in Oralce Database?(you cannot find from books, tip: check the help documents of Oracle)<br><br><br>[已被 george 编辑过, 在 2001-03-02 16:39]<br><br>[已被 webmaster 编辑过, 在 2001-03-03 09:07]<br><br>[已被 webmaster 编辑过, 在 2001-03-03 09:15]</p></td>
</tr>
</table>
<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=566">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=566&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=566&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=566&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=566&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=566"></script>
<p><CENTER>
Copyright © 2001 - 2009 JSP001.com . All Rights Reserved <P>
<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -