It's not a secret anymore!*
The moose likes Java in General and the fly likes Serialzation is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serialzation is not working" Watch "Serialzation is not working" New topic
Author

Serialzation is not working

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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 ?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Check this out. Pay attention to the link to the CachedRowSet at the bottom (JDBC RowSet Implementation on the linked->linked page).


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialzation is not working