Java xml protocol


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Java xml protocol

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center