This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serialzation is not working" Watch "Serialzation is not working" New topic

Serialzation is not working

Hussein Baghdadi
clojure forum advocate

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).

I agree. Here's the link:
subject: Serialzation is not working
It's not a secret anymore!