File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Reading XML file from Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Reading XML file from Server" Watch "Reading XML file from Server" New topic

Reading XML file from Server

Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Hello Everyone,

I have some data in XML file located on the server. I want to read that data and save it in Oracle table. I dont know how to do it. Can someone please help me? I am new to XML.

Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Moving this to XML forum, folks their might help you.
XML Forum

Spritle Software Blogs
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I would start by reading up on how to parse XML files using DOM or SAX. The best place to start learning are the "Introduction to DOM" and "Introduction to SAX" tutorials at IBM developerWorks (use the search box to find them).

Once you know how to parse the XML document and pick out the pieces of data you're interested about, jump to our JDBC forum to get help on how to insert data into a database using the JDBC API.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Thanks for your help
I agree. Here's the link:
subject: Reading XML file from Server
It's not a secret anymore!