we do something very similar to this operation with every connection between our client and server. it should work. what browser are you using? we are using the jdk plug-in. works great. it sounds like your object, that is being passed back the applet, does not implement serializable. we had a problem with the serialVersionIds not matching between our client and server. we hadto add serialVersionId class variable to all class, that were being passed over the wire. -steve > -----Original Message----- > From: Donny Philip [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 19, 2001 12:56 PM > To: [EMAIL PROTECTED] > Subject: Is OOconcepts(passin objects) of Java possible in > Applet->Servlet->Business class communication.??? > > > Hello.. > > Here is a small problem I am facing with objects and Servlets. > > > Program Scenario > Communication between Applet->Servlet->Business class->Database. > > Code function. > 1. Applet passes a identifier to servlet > 2. Servlet instantiates the business class > 3. Servlet invokes business class method. > 4. Business class return serealizable objects > 5. Servlet passes these objects back to applet > 6. Applet instantiates the business class and type cast the return > value to that specific class > 7. Applets tries to access class variables. > > Doubt > 1. Is such a scenario possible. It is giving me an ERROR. > 2. If I return a vector instead of a class whole thing works > > > Exception generate at applet while trying to read return object > 1.EventDispatch Exception > > Pls note. Do let me know if i need to produce the exception and code > for details. > > > thankx > Donny. > > ______________________________________________________________ > _____________ > 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 > ***************************************************************** DISCLAIMER: The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator. ___________________________________________________________________________ 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
