Hello,
I have Googled this for days, but couldn't find a suitable code/tutorial. I need to write a simple java webservice that would return a XML/JSON file as its output.
For example say there's a button, and when i click on it, it should run a SQL
select * from store
query and return me the results in the format of a XML/JSON file.
Is there any tutorial or sample code for me to follow. Please help.