DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005
    Posts
    1

    Java xml protocol

    I have a client/server network that sends messages as plain text but i want to change the protocol to use xml to send messages instead. At the moment i am using BufferedReader and PrintStream and use the method write to send a message. Do i use the same process to send xml and then parse it when it arrives or is there a better way?

    If you know of any good articles that demonstrate how to send xml over a network please post them.

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    I'm not very much into xml, but I have a class that downloads the contents of
    an url to the client as a StringBuffer. Maybe you can parse the xml prior to displaying
    it after you have received the url contents in an applet/application.

    The file name is SiteConn.zip and can be found here (swing applet)

    http://home.no.net/sjalle/Library.html
    eschew obfuscation

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links