rmi parsing the xml object and passing the result to the client
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   guncha_dewan
Posted On:   Wednesday, July 25, 2007 05:53 AM

Re: rmi parsing the xml object and passing the result to the client

Posted By:   Edward_Harned  
Posted On:   Wednesday, July 25, 2007 12:24 PM

You do this the same way you would when using a DataBase and ResultSet().


Parse the Strings out of the XML document and fill up a String[]. Pass that array back to the client.


You can also create your own class with whatever primitive fields you need (String, int, etc.) Just make sure the class implements Serializable.

Re: rmi parsing the xml object and passing the result to the client

Posted By:   Robert_Lybarger  
Posted On:   Wednesday, July 25, 2007 09:08 AM

You'll need to ask a much, much better question. RMI's job is not to parse anything... its job is to transfer serialized Java objects between two systems to allow a remote VM do operations on those objects. And the title of your question doesn't match the body, so it isn't at all clear where you want the result to go, let alone what the result should be, or where it comes from, or why XML is involved, or why RMI is involved.
About | Sitemap | Contact