I believe it makes even more sense to return the ArrayList as a List.
Using interfaces instead of concrete classes is better in most cases.

2007/5/8, Deepal Jayasinghe <[EMAIL PROTECTED]>:
If you return arrayList then it should work with Axis2 with out any
problem. but make sure the arrayList contains simple type objects or
java beans.

Thanks
Deepal

sharath srinivas wrote:

> I remember making use of vectors..but the best method would be to
> create your own bean and return it back.
>
> -Sharath
>
> On 5/8/07, *Kencana* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     Hi all,
>
>     just wondering how you guys deal in returning more than 1
>     resultset in axis
>     2?
>     basically I use arrayList since axis 2 doesn't support arrayList
>     how to
>     return all the
>     result (search from database e.g. select * from table will return
>     more than
>     1 result set)
>     any idea of this?
>
>     Thank you very much
>
>     Regards,
>     Kencana
>     --
>     View this message in context:
>     
http://www.nabble.com/Returning-database-result-set-tf3708516.html#a10372431
>     
<http://www.nabble.com/Returning-database-result-set-tf3708516.html#a10372431>
>     Sent from the Axis - User mailing list archive at Nabble.com
>     <http://Nabble.com>.
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     For additional commands, e-mail: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> Regards,
> Sharath



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to