How to pass xml Object as xml objects to client

Discussions

EJB design: How to pass xml Object as xml objects to client

  1. How to pass xml Object as xml objects to client (1 messages)

    HI,
      I am writing a server component the main objective of the server is to distribute the Meta data to the clients. My meta data is in xml files. The server component based on the request will parse and should send the entity collection or node collections to the client. The server is listening on a port through socket. Now if i am trying to passing the node list from the server to client i am getting the error not serializable. if some home if it is not giving the error i am not getting the particular object at the client side. I am using Microsoft dom and my server component is written in Java. Please help me with a solutions. I am looking for a solution with wcich i need not convert the xml to string and back to xml
    Thanks
    Jagan Mohan
    jp.mohanrao@iflexsolutions.com
  2. i suggest that u first convert the xml docu to a string, and pass this string between the client and the server.

    it's very expensive to serialize the xml document. u should always avoid that.

    alex