title: Java translator
body: <p>I need to create a web service for translating between two languages in my choice. On this web service, DB data of words is necessary to be located in one XML file, arbitrary structures. When the client demands a particular word for translate, web service checks does this word exists in DB. If the word exists web service like output show this translated word to the client. If not show an error message.Calling this method can look like this translate("butterfly", "english", "russian");</p>
  
  <p>I think it's a simple task but I can not find any tutorial about this. Can anybody help me to find a tutorial about this or tell me how to solve this problem? Also, this task must be written in java language.</p>
  
  <p>Thanks.    </p>