-
Passin Value Objects in two Servlets (1 messages)
- Posted by: premnath lokanath
- Posted on: January 30 2007 03:03 EST
Can somebody help me in passing value objects across servlets residing in different Webservers. Thanks in Advance premThreaded Messages (1)
- Re: Passin Value Objects in two Servlets by Emil Kirschner on January 30 2007 17:55 EST
-
Re: Passin Value Objects in two Servlets[ Go to top ]
- Posted by: Emil Kirschner
- Posted on: January 30 2007 17:55 EST
- in response to premnath lokanath
I assume your various servlets interact using http requests. I this is the case, you can serialize your value objects to XML using XStream or some other similar tool and embed the result in a http post request. In the receiver servlet you get the XML stream and you re-instantiate your value objects. cheers, Emil Kirschner