Some time ago on a similar project we on serialized vectors. it was much faster than trying to send recordsets back and forth. You can write a "recordset like" wrapper around the incoming vector if you need more traversing features than vectors accommodate regards, john d. haro AGENCY.COM -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Maxime Poulin Sent: Wednesday, April 19, 2000 9:00 AM To: [EMAIL PROTECTED] Subject: Re: Applet-servlet doPost using ObjectStreams and MS Personal Web server We are also doing Applet/Servlet communication with serialized objects... I admit that is is a bit slow, but it is mostly acceptable. However, for some queries made to the database, the amount of data to transfer is very large, so we are looking at a way to make the serialization faster... Do you guys knows ways, tricks or hints that will make serialization faster ? I don't know, like not trying to serialize some classes, or always use basic classes such as Vectors or arrays ? Maxime. > -----Original Message----- > From: Rob Griffin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 18, 2000 7:04 PM > To: [EMAIL PROTECTED] > Subject: Re: Applet-servlet doPost using ObjectStreams and MS Personal > Webserver > > > David, > > We do applet to servlet communications using serialized objects and > have no such performance problems. We have tested against IIS with > the JRun servlet engine and it works well. > > I suggest you try a different servlet engine like the JSWDK which is > a free download from Sun. > > Have you tested the serialization outside of the servlet / applet > environment? Maybe it is doing something unexpected that you don't > know about. > > Rob Griffin > Quest Software > > E-mail: [EMAIL PROTECTED] > Web site: http://www.quest.com > > > -----Original Message----- > > From: A mailing list for discussion about Sun Microsystem's > Java Servlet > > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of > > Godbey, David > > Sent: Wednesday, 19 April 2000 2:43 > > To: [EMAIL PROTECTED] > > Subject: Applet-servlet doPost using ObjectStreams and MS Personal > > Webserver > > > > > > Folks, > > I'm building an applet-servlet combo for GIS, and I'm using my NT > > workstation for the needed resources (IIS web server and Servlet > > Exec 2.2). > > > > I'm sending a hashtable containing 5 vectors (very little > data, a couple > > dozen bytes) using the example in Hunter's book, and the > > Object(Input)OutputStreams. The servlet takes the object > and returns a > > string (dozen bytes). If I buffer the streams at both ends or > > not, it makes > > no difference. It takes 5 minutes to complete the > transaction! It always > > completes, but it takes way too long. > > > > Is it Personal Web Server, NT workstation, or are there issues with > > ObjectStreams that I need to be aware of? Both hashtables > and vectors are > > serializable. > > > > Thanks for any help, > > Dave Godbey > > > > __________________________________________________________________ > > _________ > > 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 > ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
