Hola ranchers. I have created RMI server that connects to a database and executes a query against it. I want to return a ResultSet to the client so it can manupilate it. the problem is I can't return a ResultSet to the client because it is not a Serializable. even if I created an object that implements the Serializable interface and wrapped the ResultSet within it, I will not be able to pass it to the client because (as you know, if you want to create a Serialize object, each of its instance variables should be Serializable in turn). so how to work around this problem ?
posted 11 years ago
Check this out. Pay attention to the link to the CachedRowSet at the bottom (JDBC RowSet Implementation on the linked->linked page).