Passin Value Objects in two Servlets

Discussions

EJB design: Passin Value Objects in two Servlets

  1. Passin Value Objects in two Servlets (1 messages)

    Can somebody help me in passing value objects across servlets residing in different Webservers. Thanks in Advance prem
  2. 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