ResultSet through ObjectOutputStream
Hi Java Gurus,
I'll start with a sequence diagram first:
1. Client app sends a string to server ---> 2. Server calls MySQL procedure ---> 3. MySQL DB builds table---> 4. Server runs a query on MySQL and gets a ResultSet.
Now, the idea is to return the ResultSet (or data inside the result set) back to the Client app. I know the ResultSet isn't serialized which when I run the program throws java.io.NotSerialisableException.
I'd like some guidance as to how I could make the result set serialisable or if there are any other ways/techniques to return the data back to the Client app.
P.S. Is it SerialiZable or SerialiSable. :confused:
Thanks in advance