At the heart of every RowSet is a ResultSet. A RowSet can do everything that a ResultSet can and more, because the RowSet interface extends the ResultSet interface. One of the extensions is that a RowSet is a JavaBean component; this has important benefits. We can use RowSets together with visual JavaBean development tools to develop database applications without needing to do much (or any) coding directly with JDBC. We can also register listeners, such as windows, with a RowSet so they are notified to update themselves whenever data changes.
There are two general types of RowSets. Three specific implementations have been proposed for these so far:
Connected RowSets: JDBCRowSet
Disconnected RowSets: CachedRowSet, WebRowSet
A JDBC RowSet ...