Can u guid me , how to connect the java with xml and I need to get the Data's from any database. Through a common xml file i need to fetch the data and an view through xml.. Can u help me how to do it using java.
You might want to start with some basic Java tutorials first.
Then learn something about JDBC, ORM frameworks, XML and how to generate it and parse it, and maybe then start thinking about combining all that knowledge.
Noone's going to do it all for you. Not only is that not the way it's done (you should do your own work) but also the topic is WAY too broad and your questions way too vague.