- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
JAVA精品论文JSP网络远程作业处理系统中英文翻译.doc
Database Access
ALMOST ALL APPLICATIONS MUST deal with saving and preserving data. Although some infor-mation can be stored in property files and the system environment, using a database is a natural way to ease development and increase the scalability of an application. Even if an application isn’t primarily designed for storing and cataloging information, it can still benefit from having easy access to data storage and retrieval.
Databases are the lifeblood of many systems and applications, and being able to understand them and manipulate them comfortably is important to the career of a software engineer. Data management is such a large task that a database team is an integral part of any medium- to large-sized organization, and an organization can have a number of enterprise database systems.
In this chapter, we’ll discuss how to connect to a database using JDBC (Java Database Connectivity). We’ll use the MySql database for the chapter examples, and we’ll try to keep the code as portable as possible. (We’ll discuss portability and how to use complicated relational designs in Chapters 13 and 14.)
Featured in this chapter:
◆ Understanding database connectivity
◆ Using Java Database Connectivity
◆ Basic connection pooling
◆ A sample application illustrating basic database interactions
Database Connectivity and JDBC
Before we look in depth at JDBC, let’s look at the big picture. When a database starts, it usually services requests by listening to a network port, often using TCP/IP (Transmission Control Protocol/Internet Protocol). The situation is analogous to a web server that starts, listens to port 80, and then responds to requests. However, unlike a web server, no two databases speak exactly the same language. Even a complex application that deals with raw streams of data needs a translator to facilitate the connection to the database. That translator mechanism is a database driver.
您可能关注的文档
- 数字音乐广场施工组织设计.doc
- 2012年河南事业单位考试公共基础知识真题3(2012 Henan institution examination Zhenti public basic knowledge 3).doc
- 2016巴黎交通图.doc
- 迈克尔杰克逊的中国之行(Michael Jackson's trip to China).doc
- 数控机床编程技术及对刀操作中的几个问题.doc
- java教程_线程入门(Java tutorial _ thread entry).doc
- 如何打造高绩效团队(DOC 页).doc
- 初中生必背古诗词名句(句).doc
- 云冈矿2010年采掘运精细化现场管理模式规定.doc41.doc
- 服饰设计中黑白搭配艺术.doc
- 全新版大学英语综合教程(第二版)课后练习答案.doc
- 龙摄影《十一黄金周玩转疯狂》-企划大案活动推广说明书.doc
- 2011年度 40;上 41;中国电子商务市场数据监测报告.doc
- 《重装机兵 钢之季节》完整流程攻略(The complete process of reloading machine steel season ).doc
- 北京什刹海烟袋斜街地区保护整治实践.docx
- [doc格式] 出口切花菊生产技术.doc
- [爱考宝典]2018北京大学新媒体研究院考研成绩分数报录比.doc
- 环境词汇英语翻译及缩略语(U.doc
- 巴东县坪阳坝河溪丘湾段治理工程施工组织设计.doc
- 世界第一名的经典语录全集 [字].doc
文档评论(0)