> 2. Can I send the JDBC result set back to the applet as a serialized
> object, or is it better to "unpack" it at the servlet and send it as
> my own result set object?
You cannot send a ResultSet back as a serialized object because
ResultSet doesn't implement Serializable. Makes sense if you think
about it since a ResultSet could be terabytes in size.
You'll need to write you own object to send back and forth. It doesn't
work for everything, but I like the idea of passing a skeleton object to
the server (like a Person object with only the telephone number filled
in, or last name and zip code) and having the server return a fully
constituted Person object.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html