I would suggest giving up on using a conventional servlet. The role (Middle
Tier) is a great idea, but if you are sending objects to the Applet, then
sending object back to the servlet would be the best way. Using RMI or CORBA
would be my recommended solution. This way you also (if you wanted) could
maintain a stateful connection between the Applet and the Server.
DanC
PIYUSH NIGAM wrote:
> Dear Java mates,
> I have a swing applet communicating to a servlet which in turn SELECTs
> values from the database and sends them as serialized objects to the applet.
> This communication is working fine values are going and coming across a
> URLConnection....But when I pass values to the servlet to INSERT into the
> database it all falls on it's face. Is their some security feature which
> hampers the insertion of values coming from such a source (though it seems
> to permit values to be read and sent!?). I am getting a little worked up
> here- any help would be great- even a statement saying that someone has done
> it will help,
> Thanx
>
> Piyush Nigam
> [EMAIL PROTECTED]
>
> ___________________________________________________________________________
> 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