I am querying a database for a web service using the Jersey JAX-RS. I can return a single row as XML or JSON, but I can't figure out how to return multiple records.
Do I use an ArrayList? If so how? Does anyone have an example of how to do this?
Thanks