- 热门文章:
- · Java入门:理解构造器 (转)
- · C#、Java之比较
- · 回答:为什么执行JAVA程序时,会出现Exception in threadmain java.lang.NoClassDefFoundError的错?...
- · Vector在Java编程中的应用
- · 分别用java Application 及 JSP调用javaBean的例子
- · java中有关日期的显示问题
- · 学习JAVA的第一方案 (转贴)
- · Java语言中字符的处理
- · 小议如何在组件上显示图象
- · Java 中对文件的读写操作之比较
- · JAVA的网络功能与编程 二
- · Java的网络功能与编程 一
上一篇:Java 线 程 的 讨 论 与 应 用 (转) >>
关于cachedRowSet的一篇文章(java.sun.com)
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.
下一篇:Java入门:理解构造器 (转) >>
相关文章:
- · Stream Tokenizing(分解字符串)
- · 一个 Java,各自表述
- · JDBCTM 指南:入门
- · JDBCTM 指南:入门3 - DriverManager
- · JDBCTM 指南:入门2 - 连接
- · 在Java中获取系统属性
- · Java布局管理器深入讨论
- · 一些非常有用的JAVA常用方法(1)
- · 怎样避免NullPointerExceptions(原创)
- · 一些非常有用的JAVA常用方法( 2)
- · java学习体悟 作者: huli·yesky (转载)
- · 补充两个有用的关于时间的函数
- · 用java中的canendal 如何计算两个日期之间的每一日?
- · 关于sessionListener
- · 给所有刚学JAVA以及常来此版的兄弟
- · 转:学不会的JAVA,消不了的忧愁!(1)
- · 转:《学不会的JAVA,消不了的忧愁》之二——献给那些所有酷爱计算机编程的人们
- · 转:《学不会的JAVA,消不了的忧愁》之三
- · 转:《学不会的JAVA,消不了的忧愁》之四
- · 《学不会的JAVA,消不了的忧愁》之五——献给那些酷爱计算机编程的人们
- · 最简单的时间格式类
- · classpath详解(谨献给那些找不到北的朋友)
- · java 技术分析
- · JAVA专业术语集
- · 关于扰乱器与反编译 (转载)
- · Garbage Collection
- · Declarations and Access Control (1)
- · Flow control and exception Handling
- · Overloading overriding runtime type and object orientation (1)
- · Declarations and Access Control (2)
- · Threads
- · Beginner: Using Servlets to display, insert and update records in database.(1)
- · Overloading overriding runtime type and object orientation (2)
- · Beginner: Using Servlets to display, insert and update records in database.(2)
- · Beginner: Using Servlets to display, insert and update records in database.(3)
- · 异常处理优劣观(转载)
- · 看看String类的构造方法
- · Java混淆编译器(转apusic.com)
