How to return a database resultset from a java web service
<p>I am new to java web services. I am fetching records from a database and need to return my resultset from the web service. From what I have read, resultset is a interface so it cannot be used as a return type. I know that dotnet web services have a <code>DataSet</code> type used to return database records. Is there anything similar in java? If not, can anyone suggest what I should use instead of the resultset?</p>
