关于cachedRowSet的一篇文章(java.sun.com)

cache

JDBCTM RowSet

This Early Access release includes three implementations of the JDBCTM RowSet interface. The RowSet interface provides a serializable, scrollable container for tabular data that may or may not be connected to its data source via a JDBC technology-enabled driver.

A disconnected RowSet object, such as a CachedRowSet object or a WebRowSet object, can be thought of as a set of rows that are being cached outside of a data source. Because they are lightweight and serializable, disconnected rowsets can be passed between different components of a distributed application, such as Enterprise JavaBeansTM components. This is one of the most important uses for a RowSet object. The data in a RowSet object may be updated and then resynchronized with the underlying tabular data source.

The RowSet Early Access Technology Release contains the rowset jar file, preliminary documentation and code examples. Additional documentation on RowSets is contained in the JDBC 2.0 Optional Package API specification. The Java Developer Connection(SM) also provides on-line access to the RowSet tutorial chapter of the new JavaTM series JDBC book.

Early Access Release 4 addresses the following areas:

fixed problem inserting rows with non-nullable columns
re-ordered code in writer to allow multiple changes to a single row to be propogated back to a data source
reader/writer now only close connects that they create. This change should allow RowSets to be used with connection pool implementations based on JDBC 1.x drivers
included missing EchoListener.java for example 5
The three JDBCTM RowSet implementations in this release demonstrate some of the many possibilities for implementing the javax.sql.RowSet interface, which is part of the JDBC 2.0 Optional Package API.

The three example implementations in this release are:

CachedRowSet -- a rowset that can be used to
Send a set of rows across a network
Send data to a thin client
Add scrollability and updatability to result set data
WebRowSet -- an extension of CachedRowSet that can be used to send a rowset across a network in XML format
JDBCRowSet -- a rowset that can be used to encapsulate a JDBCTM driver as a Java BeansTM component
Developers cannot redistribute the binary software in commercial products. Please see license for terms and conditions.

The file Release.notes in the download package contains instructions for installation and setup.

NOTE: The three RowSet implementations contained in this release are experimental, unsupported technology. The APIs in this release may change before they become an official part of the JavaTM 2 platform. The sun.jdbc.rowset package, which is contained in this release, is NOT a committed API for the Java platform.

时间: 2024-08-02 20:59:07

关于cachedRowSet的一篇文章(java.sun.com)的相关文章

一篇文章读懂Java类加载器

Java类加载器算是一个老生常谈的问题,大多Java工程师也都对其中的知识点倒背如流,最近在看源码的时候发现有一些细节的地方理解还是比较模糊,正好写一篇文章梳理一下. 关于Java类加载器的知识,网上一搜一大片,我自己也看过很多文档,博客.资料虽然很多,但还是希望通过本文尽量写出一些自己的理解,自己的东西.如果只是重复别人写的内容那就失去写作的意义了. 类加载器结构 类加载器结构 名称解释: 根类加载器,也叫引导类加载器.启动类加载器.由于它不属于Java类库,这里就不说它对应的类名了,很多人喜

java识别一篇文章中某单词出现个数的方法_java

本文实例讲述了java识别一篇文章中某单词出现个数的方法.分享给大家供大家参考.具体如下: 1. java代码: import java.io.DataInputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.StringTokenizer; import java.util.regex.Matche

一篇文章了解爬虫技术现状

本文讲的是一篇文章了解爬虫技术现状, 需求 万维网上有着无数的网页,包含着海量的信息,无孔不入.森罗万象.但很多时候,无论出于数据分析或产品需求,我们需要从某些网站,提取出我们感兴趣.有价值的内容,但是纵然是进化到21世纪的人类,依然只有两只手,一双眼,不可能去每一个网页去点去看,然后再复制粘贴.所以我们需要一种能自动获取网页内容并可以按照指定规则提取相应内容的程序,这就是爬虫. 原理 传统爬虫从一个或若干初始网页的URL开始,获得初始网页上的URL,在抓取网页的过程中,不断从当前页面上抽取新的

一篇文章看懂Android学习最佳路线

前言 看到一篇文章中提到"最近几年国内的初级Android程序员已经很多了,但是中高级的Android技术人才仍然稀缺",这的确不假,从我在百度所进行的一些面试来看,找一个适合的高级Android工程师的确不容易,一般需要进行大量的面试才能挑选出一个比较满意的.为什么中高级Android程序员不多呢?这是一个问题,我不好回答,但是我想写一篇文章来描述下Android的学习路线,期望可以帮助更多的Android程序员提升自己.由于我也是从一个菜鸟过来的,所以我会结合我的个人经历以及我对A

《21天学通Java(第7版)》—— 第1章 Java基础 1.1 Java语言

第1章 Java基础 Java试图解决众多领域的问题,实际上也确实在这方面取得了极大的成功.它让程序员能够开发应用程序服务器和手机程序.进行科学编程.编写软件以及进行星际导航等. --Java语言之父James Gosling如是说 1995年首次发布时,Java编程语言是一个用于万维网的颇具创意的玩具,但有很大的发展潜力. "潜力"是一个有时限的恭维之词.潜力迟早需要变成现实,否则将被"衰弱"."浪费"."失望"等取代. 通

如何统计在一篇文章中某个单词出现了几次,以及第一次出现的位置_C 语言

这篇文章提供的代码的作用就是对某个单词在文章中出现的次数进行统计. 实现代码: #include<iostream> #include<string> #include<cstdio> using namespace std; void main() { freopen("in.txt","r",stdin); freopen("out.txt","w",stdout); string wo

一篇文章就能了解Rxjava

前言: 第一次接触RxJava是在前不久,一个新Android项目的启动,在评估时选择了RxJava.RxJava是一个基于事件订阅的异步执行的一个类库.听起来有点复杂,其实是要你使用过一次,就会大概明白它是怎么回事了!为是什么一个Android项目启动会联系到RxJava呢?因为在RxJava使用起来得到广泛的认可,又是基于Java语言的.自然会有善于组织和总结的开发者联想到Android!没错,RxAndroid就这样在RxJava的基础上,针对Android开发的一个库.今天我们主要是来讲

图片-在一篇文章中添加引用。。。。

问题描述 在一篇文章中添加引用.... 想图片中一样,添加引用,不使用手动添加,可以用代码实现引用的效果吗,我想在页面中添加引用,请问有谁知道怎么编写,有急用!!! 解决方案 WordPress文章中添加上一篇.下一篇链接专题研究Wordpress文章中添加上一篇.下一篇链接专题研究

新站一篇文章一天100多IP给站长朋友的启示

一个网站关键词的挖掘.布局和优化是站长朋友必须解决的问题,我们都知道流量大的网站,不仅仅是那几个热门的关键词带来的流量,长尾关键词带来的流量也是相当大的,对于关键词的挖掘站长朋友都有自己的一套方法,除了前期利用工具外,后期还可以通过后台流量统计发现一些有价值的关键词.通过对网站的优化,总结出了一些关于关键词优化的一些想法,首先来分享下自己的案例: 每天更新文章是站长朋友对于网站优化必须坚持的一件事,我选择的的时间是每天晚上,因为白天需要上班,只能利用晚上的时间去更新下网站文章和外链建设这块,因为