Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Writing XML to TCP/IP port

800394Jan 27 2010 — edited Mar 11 2010
Hi,

I'm able to read XML using SAX as following:
XMLReader parser = XMLReaderFactory.createXMLReader();
ContentHandler contentHandler = new NewAccounts(); // implements ContentHandler
parser.setContentHandler(contentHandler);
parser.parse("test/newaccounts.xml");
How do I read and write XML to lets say 127.0.0.1:4535
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2010
Added on Jan 27 2010
18 comments
1,880 views