I want to prepare XML File, can you tell me how should I do it?
Following links can help you create an XML file..
Create XML File using Servlet
How to generate build.xml file
Complete Hibernate 3.0 and Hibernate 4 Tutorial