0

I have assignment to read XML file of University Schedule , there are class rooms, time , weeks, teachers and so on. And I have to read all of them and put them to Data Base. Edit: I have to read everything because that xml is messy and it is hard to recognize everything.

I am asking to you guys, because I am newb in Java and I would like if you guys will direct me in good way how to start everything, because I don't have any idea, from what I have to start.

Thank you.

1
  • 2
    If you're new to Java, I'd recommend reading a book or tutorial on Java first. Start simple - nothing to do with XML or databases. Then learn about XML. Then learn about databases. Then try to put it together. If you have specific problems when putting it together, you can ask a specific question here. Currently this question is way too broad for SO. Commented Jan 11, 2016 at 11:26

1 Answer 1

1

A convenient way of reading xml-files with java is the JAXB(Java Architecture for XML Binding)

From there you could go with JDBC(Java Database Connectivity) to save your Objects into a database.

Generally your question is very broad and should be divided into further sub-questions.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.