i created a method that will return a Resultset, when i'm call the method that will return resultset the exceptions show. please help i only want to display record in my client using rmi application tnks
The ResultSet interface doesn't extend Serialiazable, which is why you're getting that exception. The usual way around this is to fill in some kind of Serialazable Collection class with the data that you want out of the ResultSet and return it instead of the ResultSet itself.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
posted 11 years ago
thanks for your reply, actually that is also my idea how to solve it. please give me an example how to the code :-)