This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
folks i have prblm..if i try to return resultset it throws exception?? any sugeestions? thnks
posted 16 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.. ------------------