Arun Kumar wrote:you can use jdbc/hibernate to get the data from database and pass it as POJO/String response via apache-cxf
Thanks Arun Kumar for your answer. I am new to Web Services. I am having three doubts:
1. If I want to send data as a
String data, how to send that from the function (say sendData()) in my Java class as examples on the internet have shown sending only one String as a response?
2. Is it possible/OK to send/return POJO as a response?
3. If I want to send data as POJO, how client which is a Android application can know which type of data is this and retrieve data from POJO?
Thanks.