Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending an archive

Status
Not open for further replies.

MoreFeo

Technical User
Nov 29, 2002
547
ES
I'm trying to make two applications, one has to send an xml file to a certain IP adress. The other application must receive and read the xml file. How can I do to send and receive it? Thanks, Manuel
 
A hard wired method would be to use Sockets. An alternative might be to use a HTTPClient HTTPServer, there are downloadable classes from apache I believe.

If you need to "parse" or "create" the XML, Java 1.4 has classes for that too, do a search for SAX and DOM (there are classes in Java 1.4 to support this).
 
Thanks for all. I've found about HTTPServer, but I can´t find anything about HTTPClient, do you where I can find some documentation? For the xml, I'm going to try with JAXB, if you know a good tutorial it'd be great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top