Recently I'm working on a project as requested by my lecturer.
It's a simple website which need to use
Java, XML and a database.
Now the Java part is used in
JSP, and for the database I have chosen MySQL.
The question that keep comes to my mind is that, why do I need XML? Why can't I use just JSP with MySQL?
I did try ask the question from my lecturer. He said there's a lot of resources online and asked me to find out myself. Up till now, the only reason I can think of is that, if in the future I want to implement the same website on WAP technology (or others such as ASP), I only need to come out with the application that interact with XML without it touching the database.
Is this a valid reason?
Any other reason for the usage of XML here?
What are the usage of XML in other applications?