I have a web service that provides queries functionality using hibernate. A query can return multiple results - each results contains multiple parameters.
The question is: how should I return the result:
- Can serialize everything into 1 string nd client will parse it.
- I know there is a possibility to return Array of strings or Array of complex types.
Which is better for performance - there might be lots of user doing request etc.
If better using the complex types - can give an example of using it - or a link to some info.
Thanks Yoav