I have an application that asks the user to fill a form, and the information of the user is stored in the xml and download xml option is provided to the user. I have maintain only single xml file to store the information.Problem: If 2 users are using the application on different systems, when the first user completely fills the form but downloads the xml after the second user fills the form. In this case the information of 1st user gets override by that of second user in the xml.So how can we overcome this situation when multiple users access the application.Provide the solution in java.