心脏彩超可以检查什么| app有什么用途| 右肋骨下方隐隐疼痛是什么原因| 尿不出来吃什么药| 脂肪肝要注意什么| 整编师和师有什么区别| 罗汉果泡水有什么好处| 公积金取出来有什么影响| 幺蛾子是什么意思| 善存什么时间吃比较好| 为什么英文怎么写| 南京立冬吃什么| 做腹部彩超挂什么科| 主动脉壁钙化是什么意思| 一产二产三产分别包括什么| nt检查需要注意什么| 尿蛋白阳性什么意思| 为什么说婴儿摔床没事| 蓝莓有什么好处| 星字五行属什么| 什么是流年| 争辩的近义词是什么| 乙肝表面抗原阳性是什么意思| 心率快是什么原因引起的| 嗓子疼喝什么| 为什么心里总想一个人| 工作单位是什么意思| 便秘用什么药好| 做梦梦到狮子是什么意思| kub是什么检查| 化工厂是干什么的| 大腿外侧疼痛是什么原因| 什么是公共场所| 什么鱼嘌呤含量低| 情感障碍是什么意思| 脑血栓是什么原因引起的| 什么是甲沟炎| 为什么会得梅毒| hi是什么| 垂爱是什么意思| 吃桑葚对身体有什么好处| 运钞车是什么车| 咖色是什么颜色| 尿酸高不能吃什么水果| 蜗牛是什么生肖| 梦见搬家是什么意思| 股票举牌什么意思| 梦见扫墓是什么预兆| 中专是什么学历| 胃出血是什么原因引起的| 两头尖是什么中药| 凯撒沙拉酱是什么口味| 光绪是慈禧的什么人| 尾椎骨疼挂什么科| 自缚是什么意思| 外阴瘙痒用什么效果好| 儿童肠胃感冒吃什么药效果好| 吃什么补气补血最见效| 痔疮长什么样子| 奔跑的马是什么牌子的车| 日本兵为什么不怕死| 广州白云区有什么好玩的地方| 什么的杯子| 阴唇痒用什么药| 物理意义是什么意思| 吉兰巴雷综合征是什么病| 金银花主治什么| 脾肺气虚吃什么中成药| 嘴唇发紫什么原因| 做梦梦到地震预示着什么| 女人脱发是什么原因| 梦见自己相亲是什么征兆| 二脚趾比大脚趾长代表什么| 蛤蚧是什么动物| 猫叫是什么原因| 美国为什么要打伊朗| 电音是什么意思| 肾挂什么科室| 血管检查是做什么检查| 男子精少吃什么药可以生精| 蔓字五行属什么| 口臭应该挂什么科| 产假什么时候开始休| 血压偏低有什么症状| 什么牌子的冰箱最好| 睡觉为什么会流口水| 猪展是什么| 肝是什么意思| 打歌是什么意思| 什么是电解质饮料| 凤凰指什么生肖| hvp是什么病毒| Fish什么意思| 嘴唇发黑是什么原因引起的| 做梦手机坏了什么预兆| 死库水是什么意思| 代言人是什么意思| 心衰是什么病| 颈椎病挂什么科| 梦见自己把头发剪短了是什么意思| 什么是七杀命格| 吃什么能提神不打瞌睡| 睾丸癌是由什么引起的| 什么情况下需要做心脏造影| 边鱼是什么鱼| 佛跳墙是什么东西| 什么叫环比什么叫同比| 经常头疼是什么原因引起的| 尿酸吃什么药最有效果| 病危通知书意味着什么| nov是什么意思| 打狗看主人打虎看什么答案| 诺如病毒吃什么药| 木日念什么| 合肥原名叫什么名字| 眼底充血是什么原因| 什么是地沟油| 什么是包皮过长图片| 蛋白粉什么时候吃| 1941属什么生肖| 两小无猜是什么生肖| 沉住气是什么意思| 女属羊和什么属相最配| 疝气是什么病| 生长激素分泌的高峰期是什么时候| 办健康证要带什么| 血糖高什么东西不能吃| 5月23号是什么星座| 相什么并什么| 46岁属什么| 梦见老公穿新衣服是什么意思| 副镇长是什么级别| 婢女是什么意思| 灌肠为什么能通输卵管| boss是什么意思| 发心是什么意思| 籽字五行属什么| 息肉病变什么意思| 杜鹃花什么时候开| 什么的歌声| 兰州有什么特产| 脆肉鲩是什么鱼| 优生优育检查什么项目| 九月二十八是什么星座| 女人脾肾两虚吃什么好| 婴儿采足底血是查什么| 腺样体肥大挂什么科| 舌面有裂纹是什么原因| 舌头紫红色是什么原因| 老是放屁什么原因| 三点水一个四读什么| 调理内分泌失调吃什么药效果好| 师五行属什么| 三个马念什么| 前胸出汗多是什么原因| 什么叫开门见床头| 姐姐家的孩子叫什么| 什么发型好看| 阴道菌群失调用什么药| 秋天是什么时候| 花甲炒什么配菜好吃| 儿童弱视是什么原因引起的| 雷诺综合症是什么病| 雾化后为什么要漱口| 高烧拉肚子是什么原因| 精尽人亡什么意思| 子宫内膜异位症是什么意思| 虎什么龙什么| 手脚浮肿是什么原因引起的| 7月5号是什么星座| 知心朋友是什么意思| 肚子疼挂什么科室| 震楼神器楼上什么感觉| 生不逢时什么意思| 男人少一个睾丸有什么影响| 什么人容易得癌症| 孕期心情不好对胎儿有什么影响| 唐三藏的真名叫什么| 求婚是什么意思| 火车动车高铁有什么区别| 什么是低保| 凌驾是什么意思| 曹操是什么生肖| 喝咖啡对身体有什么好处| 水牛吃什么| 敦伦是什么意思| 随诊复查是什么意思| 阴道口出血是什么原因| fwb是什么意思| 舌尖有裂纹是什么原因| 为什么会突然头晕| 榆钱是什么| 吃什么对眼睛好| 高压正常低压低是什么原因| 男人早泄吃什么药| 偶尔什么意思| 成家是什么意思| 熠字五行属什么| 支气管发炎用什么药| 广州番禺有什么好玩的地方| 小孩吃什么水果好| 天秤和什么星座最配| 一什么圆月| 嘘寒问暖是什么意思| 把脉左右手代表什么| 68年属猴的是什么命| ab和a型血生的孩子是什么血型| 排尿困难是什么原因| 冰糖里面为什么有白线| 为什么会打嗝| 茉莉花茶是什么茶| 云南白药植物长什么样| 纳肛是什么意思| 室上速是什么病| yet什么意思| 湿疹有什么症状| 1978年属马五行属什么| 白羊歌词是什么意思| 益生菌什么牌子最好| 打车费计入什么科目| 五月初九是什么星座| 身上有红色的小红点是什么原因| 凉血是什么意思| 梦到自行车丢了是什么意思| cma检测是什么| 静谧是什么意思| 梦见很多蛇是什么征兆| 吃鹅蛋有什么好处和坏处| 憋不住大便是什么原因造成的| 玉米有什么功效| 静脉曲张吃什么药最好| 75b是什么罩杯| 蚊子咬了为什么痒| 卵泡刺激素高说明什么| 吐槽什么意思| 肾精亏虚吃什么药最好| 吃菠萝蜜有什么好处| 1966年是什么命| 尿潜血是什么病| 安是什么生肖| 早上眼屎多是什么原因| 珠胎暗结是什么意思| 吃黑米有什么好处和坏处| 3月5日是什么星座的| 服中药期间忌吃什么| 肾阴虚火旺有什么症状| 小本创业做什么生意好| 望洋兴叹什么意思| 冰瓷棉是什么面料| 下半夜咳嗽是什么原因| 吸烟有什么危害| 房门什么颜色好看| 老是打喷嚏是什么原因| 素字五行属什么| 凤凰长什么样子| 8月30号是什么星座| 鲁冰花是什么意思| 为什么一喝阿胶睡眠就好了| 终亡其酒的亡是什么意思| 梅毒是什么样的| 做b超能查出什么| 为什么不建议做冠脉cta检查| 升白针叫什么名字| 弯弯是什么意思| 百度Jump to content

Photomizer(图片修复工具) V3.0.6017.25771官方版

From Wikipedia, the free encyclopedia
百度 从数据来看,据国家统计局,今年以来我国固定资产投资稳步增长,今年前5个月完成固定资产投资额同比增长%,虽然增速比1-4月份回落个百分点,但制造业投资同比增长%,增速比1-4月份提高个百分点,比去年同期提高个百分点;制造业对全部投资增长的贡献率为%,拉动投资增长个百分点,表明今年制造业有所好转。

A datasource or DataSource is a name given to the connection set up to a database from a server. The name is commonly used when creating a query to the database. The data source name (DSN) need not be the same as the filename for the database. For example, a database file named friends.mdb could be set up with a DSN of school. Then DSN school would be used to refer to the database when performing a query.

Sun's version of DataSource [1]

[edit]

A factory for connections to the physical data source that this DataSource object represents. An alternative to the DriverManager facility, a DataSource object is the preferred means of getting a connection. An object that implements the DataSource interface will typically be registered with a naming service based on the Java Naming and Directory Interface (JNDI) API.

The DataSource interface is implemented by a driver vendor. There are three types of implementations:

  • Basic implementation — produces a standard Connection object
  • Connection pooling implementation — produces a Connection object that will automatically participate in connection pooling. This implementation works with a middle-tier connection pooling manager.
  • Distributed transaction implementation — produces a Connection object that may be used for distributed transactions and almost always participates in connection pooling. This implementation works with a middle-tier transaction manager and almost always with a connection pooling manager.

A DataSource object has properties that can be modified when necessary. For example, if the data source is moved to a different server, the property for the server can be changed. The benefit is that because the data source's properties can be changed, any code accessing that data source does not need to be changed.

A driver that is accessed via a DataSource object does not register itself with the DriverManager. Rather, a DataSource object is retrieved through a lookup operation and then used to create a Connection object. With a basic implementation, the connection obtained through a DataSource object is identical to a connection obtained through the DriverManager facility.

Sun's DataSource Overview [2]

[edit]

A DataSource object is the representation of a data source in the Java programming language. In basic terms, a data source is a facility for storing data. It can be as sophisticated as a complex database for a large corporation or as simple as a file with rows and columns. A data source can reside on a remote server, or it can be on a local desktop machine. Applications access a data source using a connection, and a DataSource object can be thought of as a factory for connections to the particular data source that the DataSource instance represents. The DataSource interface provides two methods for establishing a connection with a data source.

Using a DataSource object is the preferred alternative to using the DriverManager for establishing a connection to a data source. They are similar to the extent that the DriverManager class and DataSource interface both have methods for creating a connection, methods for getting and setting a timeout limit for making a connection, and methods for getting and setting a stream for logging.

Their differences are more significant than their similarities, however. Unlike the DriverManager, a DataSource object has properties that identify and describe the data source it represents. Also, a DataSource object works with a Java Naming and Directory Interface (JNDI) naming service and can be created, deployed, and managed separately from the applications that use it. A driver vendor will provide a class that is a basic implementation of the DataSource interface as part of its Java Database Connectivity (JDBC) 2.0 or 3.0 driver product. What a system administrator does to register a DataSource object with a JNDI naming service and what an application does to get a connection to a data source using a DataSource object registered with a JNDI naming service are described later in this chapter.

Being registered with a JNDI naming service gives a DataSource object two major advantages over the DriverManager. First, an application does not need to hardcode driver information, as it does with the DriverManager. A programmer can choose a logical name for the data source and register the logical name with a JNDI naming service. The application uses the logical name, and the JNDI naming service will supply the DataSource object associated with the logical name. The DataSource object can then be used to create a connection to the data source it represents.

The second major advantage is that the DataSource facility allows developers to implement a DataSource class to take advantage of features like connection pooling and distributed transactions. Connection pooling can increase performance dramatically by reusing connections rather than creating a new physical connection each time a connection is requested. The ability to use distributed transactions enables an application to do the heavy duty database work of large enterprises.

Although an application may use either the DriverManager or a DataSource object to get a connection, using a DataSource object offers significant advantages and is the recommended way to establish a connection.

Since 1.4

Since Java EE 6 a JNDI-bound DataSource can alternatively be configured in a declarative way directly from within the application.[1][2] This alternative is particularly useful for self-sufficient applications or for transparently using an embedded database.[3][4]

Yahoo's version of DataSource [3]

[edit]

A DataSource is an abstract representation of a live set of data that presents a common predictable API for other objects to interact with. The nature of your data, its quantity, its complexity, and the logic for returning query results all play a role in determining your type of DataSource. For small amounts of simple textual data, a JavaScript array is a good choice. If your data has a small footprint but requires a simple computational or transformational filter before being displayed, a JavaScript function may be the right approach. For very large datasets—for example, a robust relational database—or to access a third-party webservice you'll certainly need to leverage the power of a Script Node or XHR DataSource.

References

[edit]
  1. ^ "Introducing the DataSourceDefinition Annotation | Java.net". Archived from the original on 2025-08-07. Retrieved 2025-08-07.
  2. ^ "DataSourceDefinition (Java EE 6 )".
  3. ^ "The state of @DataSourceDefinition in Java EE". 30 June 2012.
  4. ^ "April 2012".
爬楼是什么意思 nt什么意思 62岁属什么 可乐鸡翅需要什么材料 主动脉夹层是什么病
皮肤病挂什么科 建议MRI检查是什么意思 为什么会拉水 张仲景的著作是什么 nrc是什么意思
屁股痛是什么原因 什么是安全期 宫颈纳囊什么意思 psh是什么意思 眼睫毛脱落是什么原因
2029年属什么生肖 折服是什么意思 小孩有点咳嗽吃什么药 骨折什么感觉 轴向是什么意思
内膜厚吃什么药掉内膜hcv8jop3ns7r.cn 好哒是什么意思hcv9jop0ns2r.cn ihc是什么意思hcv7jop6ns7r.cn 狗尾巴草的花语是什么hcv8jop5ns6r.cn 特发性震颤吃什么药hcv8jop6ns0r.cn
排尿带血是什么原因hcv8jop5ns5r.cn c13阳性是什么意思hcv9jop5ns1r.cn 让球是什么意思hcv7jop5ns0r.cn 绿卡需要什么条件hcv9jop5ns9r.cn 十月一日是什么节hcv9jop3ns6r.cn
虫草适合什么人吃jiuxinfghf.com 早上起来手麻是什么原因hcv8jop9ns1r.cn 化学专业学什么hcv8jop7ns3r.cn 高考用什么笔hcv8jop4ns0r.cn 直肠息肉有什么症状hcv8jop9ns0r.cn
暗渡陈仓是什么生肖hcv7jop5ns0r.cn 娃娃脸适合什么发型hcv9jop0ns6r.cn 韭黄是什么luyiluode.com 高压和低压差值在什么范围正常hcv9jop0ns3r.cn 排酸对身体有什么好处hcv7jop4ns8r.cn
百度