Use Java Serialization to send the the objects from one servlet to
another.

Make sure you have the Objects implement Serializable.  :-)

You can override doGet without damaging GWT RPC.  One servlet does
that, the other (the one driving the exchange) makes an HTTP call to
it.  They both use Object*Streams to send and receive the object(s).

Greg

On Nov 17, 6:52 am, Ice13ill <andrei.fifi...@gmail.com> wrote:
> Hello, I want to send objects between 2 servlets and i was wondering
> if the GWT RPC mechanism used for client - server communication can
> also be used to send data across two servlets that extend
> RemoteServiceServlet.
>
> Or maybe I can use the Java serialization to actually send bytes from
> one servlet to another ?
>
> Any ideas ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to