folks i have prblm..if i try to return resultset it throws exception?? any sugeestions? thnks
posted 17 years ago
This is a well known problem. RMI uses serialization, and ResultSet is not serializable (because it holds on to resources in the database). You need to extract the data from the ResultSet into another, serializable, data structure (eg. a vector) first.
thnks for ur time yeah i read abt it in servlets forum.... i had been workin on java since 6 months...so i dont have strong hold on it.. my doubt is if i implement the serializabale interface to the method which returns the resultset...... it works?? thnks.. ------------------